USB storage devices and /etc/fstab

John Austin ja at jaa.org.uk
Mon Dec 31 17:28:03 UTC 2007


On Mon, 2007-12-31 at 10:21 -0600, J Taylor wrote:
> 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
                          ^ 
Missing / ??????????

> 
> /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
> 

/sbin/blkid is also useful

John




More information about the users mailing list