PDA

View Full Version : Where's my USB drive?



dtz
08-06-2004, 05:03 AM
I just got a usb flash drive and I'm using a hdd install of knoppix 3.4. I plug it in and can see it in usbview and lsusb but I can't figure out where to put files. I thought with hotplug you didn't have to put a line in fstab. What am I doing wrong?

Markus
08-06-2004, 08:52 AM
Umm, I think you still need a line in fstab. This is what I have for my thumb drive:
/dev/sda1 /mnt/sda1 vfat noauto,users,exec,noatime,umask=000,uid=markus,gid =markus 0 0
You can leeave out the uid and gid.
To find out which sda it is do: dmesg|grep sda
To make the mountpoint: mkdir /mnt/sda1 or whatever number you got from dmesg

dtz
08-06-2004, 03:29 PM
Thanks Markus, guess I _was_ wrong about the fstab line. On e more thing, do you do anything other than wait for the light to go off before removing the drive?

Markus
08-06-2004, 04:00 PM
From the command line: umount /mnt/sda1
From desktop: right click the icon and choose unmount

EDIT: btw, you don't have to call the mountpoint /mnt/sdax, you can name it anything you like as long as you use the same in fstab or mount it manually with say: mount /dev/sda1 /mnt/thumb.