Alias for pen drives

Mikkel L. Ellertson mikkel at infinity-ltd.com
Mon Oct 1 14:23:41 UTC 2007


Paul Smith wrote:
> 
> Thanks to both. Now my pen drive has the label 'MYPEN', and there is
> the following line in /etc/fstab:
> 
> /dev/MYPEN /media/disco vfat noauto,user 0 0
> 
> but the pen drive is mounted on /media/MYPEN and not on /media/disco. Any ideas?
> 
> Paul
> 
The format would be

LABEL=MYPEN /media/disco vfat noauto,user 0 0

If you put an entry in /etc/fstab for the drive, then HAL will NOT
auto-mount the drive when you plug it in. A better way would be to
name the pen drive disco and then it will get mounted on
/media/disco when you plug it in.

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://listman.redhat.com/archives/fedora-list/attachments/20071001/a34fe343/attachment-0001.sig>


More information about the fedora-list mailing list