USB storage devices and /etc/fstab

Mikkel L. Ellertson mikkel at infinity-ltd.com
Mon Dec 31 18:01:11 UTC 2007


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
> 
> /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
> 
The label is usbdisk2, not /usbdisk2. The / makes a difference.

LABEL=usbdisk2       /usbdisk2           ext2    noauto,user,rw  1 2

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20071231/b5db56b9/attachment-0001.bin 


More information about the users mailing list