LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Auto-mount a Thumdrive? (https://www.linuxquestions.org/questions/linux-hardware-18/auto-mount-a-thumdrive-244261/)

michael_j_w 10-18-2004 01:47 PM

Auto-mount a Thumdrive?
 
I can not get my usb thubdrive to auto mount.

my notebook is:
K6-2 333Mhz
160mb ram
4 gig hd
cd-rom
floppy
1-usb
1-serial
1-parallel
mandrake 9.2--2.4.22 kernel


I have enabled supermount, hotplug is loaded, usb-storage is loalded and i can manually moun this device.

here is my fstab:

/dev/hda2 / ext3 noatime 1 1
/dev/hda1 /boot ext3 noatime 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hda5 /lfs ext3 noatime 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,sync,codepage=850,iocharset=iso8859-1,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/sda /mnt/thumbdrive auto noauto,user 0 0

Also when I insert the thumdrive the following lines are added.
$ dmesg >t (before iserting drive)
$ dmesg >t1 (after)
$ diff t t1
156a157,158
> hub.c: new USB device 00:13.0-1, assigned address 2
> usb.c: USB device 2 (vend/prod 0xea0/0x2168) is not claimed by any active driver.

If any one could point me in the right dirrection that would be great. Thanx!

bushidozen 10-23-2004 04:36 AM

I am going to assume that you made a /mnt/thumbdrive directory.

As for you /etc/fstab file, are you sure that /dev/sda is correct? On both my desktop and laptop (both running fedora) my thumbdrives are mounted on /dev/sda1, which is what I included in my /etc/fstab. Check dmesg to be sure.


All times are GMT -5. The time now is 11:58 PM.