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

Re: Alias for pen drives



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!

Attachment: signature.asc
Description: OpenPGP digital signature


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