USB storage devices and /etc/fstab

Felix Miata mrmazda at ij.net
Mon Dec 31 18:14:32 UTC 2007


On 2007/12/31 10:21 (GMT-0600) J Taylor apparently typed:

> I am still trying to get this to work.  The e2label seems to work but I cannot 
> mount the device, and the system will not boot with the specified /etc/fstab.

> # /sbin/e2label /dev/sdb5 usbdisk2

> /etc/fstab:
> LABEL=/usbdisk2         /usbdisk2               ext2    noauto,user,rw  1 2
> #/dev/sdb5  /media/usbdisk2  ext2  user,suid,dev,exec,noauto  0  0

> # mount /usbdisk2
> mount: special device LABEL=/usbdisk2 does not exist

It fails because usbdisk2 != /usbdisk2

Try: LABEL=usbdisk2 /usbdisk2 ext2 noauto,user,rw  0 0
-- 
Jesus Christ, the reason for the season.

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://mrmazda.no-ip.com/




More information about the fedora-list mailing list