public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* umount by uuid
@ 2013-11-18 20:06 Phillip Susi
  2013-11-19 17:27 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Phillip Susi @ 2013-11-18 20:06 UTC (permalink / raw)
  To: util-linux

-----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-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: umount by uuid
  2013-11-18 20:06 umount by uuid Phillip Susi
@ 2013-11-19 17:27 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2013-11-19 17:27 UTC (permalink / raw)
  To: Phillip Susi; +Cc: util-linux

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@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-19 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-18 20:06 umount by uuid Phillip Susi
2013-11-19 17:27 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox