Re: umount by uuid

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

 



On Mon, Nov 18, 2013 at 03:06:50PM -0500, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> It seems that you now can umount by uuid using the UUID= tag, but not
> with the -U switch, so it doesn't mirror mount.


 man umount:

    A file system is specified by giving the directory where it has been
    mounted.  Giving the special device on which the file system lives
    may also work, but is obsolete, mainly because it will fail in case
    this device was mounted on more than one directory.

 .. so umount by tag is supported (and will be supported) but I don't
 think we need to extend this functionality. Add -U and -L to umount
 seems like a bad idea.
 
> or is the -U form considered depreciated?

 That's a good question, I don't like -{U,L} because these options are
 tag specific. For example now we also support PARTUUID= and there is
 no a special command line option for this tag. Anyway, people use the
 -{U,L} options, so we will support it probably forever... (internally
 it does not matter as all is converted to tags).


 Note that I found a bug in mount and umount, mount and umount by TAG=
 does not work for non-root users since v2.23. Fixed in git tree.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux