Alias for pen drives

Paul Smith phhs80 at gmail.com
Mon Oct 1 13:14:22 UTC 2007


On 10/1/07, Matthew Miller <mattdm at mattdm.org> wrote:
> > Windows file system on it, and you usually will be, then the mtools
> > package has what's needed to twiddle that.  You need to play with the
> > mtools configuration file to give your device a drive letter, just for
> > this task, so that you can rename the drive.
> > But it's usually easier to plug the device into a Windows box and
> > "rename" the drive.  i.e. Plug it into Windows, right-click its icon,
> > rename it.  Then, Linux will use that drive name as the label.
>
> Or just reformat the drive with
>
> mkfs -t vfat -n yourlabel /dev/whatever
>
> (and whatever other options).

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




More information about the fedora-list mailing list