Mounting USB devices with stable names

James Wilkinson fedora at aprilcottage.co.uk
Fri Nov 17 00:53:10 UTC 2006


Reg Clemens wrote:

> OK, Im missing something.
> Ive been following this thread since I have the same problem,- I want
> to mount thumb-drives in known locations.
> 
> Im not thrilled with labels, but if they will do the job, OK.
> 
> However, I know how to label a ext2/3 drive with e2label, but for
> compatability reasons (so I/we can move files from Windows <-> Linux
> all of my pen-drives are formated as vfat.
> 
> I see mlabel which claims to be able to label vfat drives. Im not sure
> that the whole mount thing will recognize those labels, but Im one stop
> back from being able to try it. mlabel SEEMS to only want to work with
> file systems on /dev/fd0 so I have no way to label these pen-drives.

Apparently if you put something like
drive f: file="/dev/sda1"
in /etc/mtools.conf you can then use mlabel on "drive f:".

Hope this helps,

James.

-- 
E-mail:     james@ | To call it a u-turn would be like describing an s-bend as
aprilcottage.co.uk | a corkscrew.
                   |     -- http://www.theinquirer.net/?article=35396




More information about the fedora-list mailing list