public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Phillip Susi <psusi@ubuntu.com>
Cc: util-linux@vger.kernel.org
Subject: Re: umount by uuid
Date: Tue, 19 Nov 2013 18:27:18 +0100	[thread overview]
Message-ID: <20131119172050.GL5572@x2.net.home> (raw)
In-Reply-To: <528A735A.9060606@ubuntu.com>

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

      reply	other threads:[~2013-11-19 17:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-18 20:06 umount by uuid Phillip Susi
2013-11-19 17:27 ` Karel Zak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131119172050.GL5572@x2.net.home \
    --to=kzak@redhat.com \
    --cc=psusi@ubuntu.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox