umount by uuid
-----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. Should this be added, or is the -U form considered depreciated?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJSinNaAAoJEJrBOlT6nu75koQH/3oHJy6CWkF96MdSNfIS7prn R4Cz+F9NTSXagcVAzvUzgb2+yZ1QlMywyEQc+iX6oajB7+OFTJVY5E5et+zgGqOa tPkz97iuPrq1yM3L8F9+aHtyUX79BFjoJtZm4gbbu1AcOrum+AQCo/YPpOZSnawH s5GcHv75oUUeKHKyni1vbRtd2TKi94GV6gVzmXlm8SIpDjmuRfPjvvFFrId7wMnj 0DuWBFgM1/XW2snU+dt7E/QhUFnFwTYN0Up8+v0vn6iH6xpSspomBgzF7sHOAiu3 tH8UEtcg7qiFrsM9R2oF6Wua6u3yOUYZhQwOU6xXT5pF4T5cpaqKzB/cPQH8n3k= =LQnd
-----END PGP SIGNATURE-----
Karel Zak
maintainerQuoted 5 lines · Phillip Susi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1It 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.
Quoted 1 line
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
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com