PDA

View Full Version : Reading a USB PD



el__sid
04-26-2005, 11:02 PM
Hey guys,

I'm new to the Linux scene and I got a quicky,

Where is the directory for a USB pen drive? I put it into my computer before I booted and have no Idea where the directories for it are.

Can someone help?

Thanks in Advance...

El__sid

fingers99
04-26-2005, 11:06 PM
Probably /dev/sda1

marhleet
04-27-2005, 10:56 AM
my smoothwall, I tracked something down to
/proc/bus/usb

ls -l shows two files, both zero length,

[root@smoothwall usb]# ls -l
total 0
dr-xr-xr-x 1 root root 0 Apr 25 10:25 001/
-r--r--r-- 1 root root 0 Apr 25 10:25 devices
-r--r--r-- 1 root root 0 Apr 25 10:25 drivers
but you can
cat devices
and it will show you details from the usb bus about what is there.
might show someinteresting details, might show some more of where it is in the
.dev.sda1 mode of things

el__sid
04-28-2005, 11:24 PM
Thanks for answering,

/dev/sda1 is not a folder but a program, and A) I dont know how to run it (asks me how to run it) and B) It shouldnt be a file should it?

I've also looked in /proc/bus/usb still to no avail

Any other ideas?

marhleet
04-29-2005, 11:43 AM
would this be helpful ?
http://www.linuxgazette.com/node/8745

also, google for
dev sda1
there are others to read through