Re: USB storage devices and /etc/fstab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux