Re: rename flash drive auto mount point

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

 



On Friday, March 25, 2011 09:56:19 pm Kevin J. Cummings wrote:
> But, the version of mlabel that Fedora provides does *not* support the
> -i flag that the posted solution says to use.  Perhaps the -i flag is an
> Ubuntu only extension to their version of mlabel?
> 
> So Aaron is right, the posted solution is not useful to Fedora users.

Sorry, please read the full relevant manual section at:
http://www.gnu.org/software/mtools/manual/mtools.html#SEC5

Then try the '-i' option; no, it doesn't show up in the man page, but that's because it's a GNU program stuck on texinfo instead of man pages.

Repeating: for *many* GNU-originated packages the man pages are incomplete, and you must use the texinfo manual. Or you will be using outdated, unmaintained, documentation since the man pages aren't well maintained, since the primary docs for those packages are in texinfo format.

Or to demonstrate:
[root@localhost ~]# uname -r
2.6.35.11-83.fc14.x86_64
[root@localhost ~]# rpm -q mtools
mtools-4.0.13-2.fc14.x86_64
[root@localhost ~]# mlabel --help
Mtools version 4.0.13, dated February 28th, 2010
Usage: mlabel [-vscVn] [-N serial] drive:
[root@localhost ~]# mlabel -i /dev/sdc1 -s ::
 Volume has no label
[root@localhost ~]# which dosfslabel
/sbin/dosfslabel
[root@localhost ~]# dosfslabel /dev/sdc1
FEDORA     
[root@localhost ~]#

Note that the label seen and manipulated by dosfslabel is the one that F14 is using for the mount point:
[root@localhost ~]# mount
[snip]
/dev/sdc1 on /media/FEDORA type vfat (rw,nosuid,nodev,uid=501,utf8,shortname=mixed,flush)
[root@localhost ~]# 

So the answer for the OP: use dosfslabel since it seems to really change the label that F14 is using.  The mlabel utility, while it seems to be doing the proper thing with -i, isn't picking up the proper label.

Good grief, guys, check your facts before posting that the version the poster is using isn't in F14.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux