Results 1 to 7 of 7
is there a difference between mounting a usb flash drive and an external hard drive through usb? when i mount the external hard drive when it is connected through usb ...
- 04-19-2006 #1
mounting usb devices
is there a difference between mounting a usb flash drive and an external hard drive through usb? when i mount the external hard drive when it is connected through usb i can do
when my /etc/fstab contains the followingCode:mount /mnt/usb/
and it works perfectly fine but when i try to plug in my flash drive it does not like it. can someone explain what the issue is? i tried following this example http://www.debianhelp.org/Article3529.html but it did not work either.Code:/dev/sda1 /mnt/usb auto defaults,user,noauto 0 0
thoughts/suggestions?
- 04-19-2006 #2
What does
tell you?Code:cat /proc/bus/input/devices
Are you sure the flash drive is /dev/sda1 also?"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 04-20-2006 #3Just Joined!
- Join Date
- Apr 2006
- Posts
- 31
i'll bet that your flash drive is NOT sda1,if u have an sata drive then it most likely will be something else such as sdb1.this may be something that u wanna check out before u go any farther and edit things ,potentially doing much more work than u need to and complicating the problem.
- 04-20-2006 #4
in response to antidrugue....
i did not havebut i did haveCode:cat /proc/bus/input/devices
and the output of that isCode:cat /proc/bus/usb/devices
Code:T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=dce0 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
in response to octavius....
and i am not sure if the flash drive is sda1. i'm honestly not sure how to tell. i read somewhere that usb drives are really recognized as scsi drives and the usb drivers simply interface between the usb stack and scsi layer, so i was just assuming that the flash usb drive would follow the same rules (maybe this is just for usb drives not flash drives - but i am not sure maybe someone can clarify). and i didn't try doing it on sda2 or sda3, i thought that sda2 and sda3 would indicate two other partitions on a the drive attached to sda and there is only one partition. if anything i would think that doing sdb1, sdc1, etc. would work before doing sda2 or sda3. maybe i'm just completely confused by all of this. clarification on this stuff would really be beneficial.
thanks,
k
- 04-20-2006 #5
When you plug the USB flash drive, many ways to know where it is:
Code:cat /proc/scsi/scsi
Code:tail /var/log/messages
Code:ls /dev/s*
Code:fdisk -l
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 04-21-2006 #6
since there are so many places to find what i'm looking for, could you tell me what exactly i should be looking for when i run the commands you listed so i'm not just blindly running them. thanks.
- 04-23-2006 #7Just Joined!
- Join Date
- Aug 2005
- Location
- Australia
- Posts
- 39
My recomendation
Personally out of these I would recommend typing into a terminal the following one:
Originally Posted by antidrugue
Basically it will find all the devices attached to your computer which begin with "sd" and that should include usb drives. If you have nothing else connected to your computer except the usb disk, and one entry shows up after typing this command, then the output is the name of your usb disk. If there is more than one entry than you have a more difficult job of finding the correct name and should try the other options, which are in my opinion more complicated.Code:ls /dev/sd*
Also what distro are you running? Just Debian or one of its derivatives like Ubuntu?


Reply With Quote
