public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Linda Walsh <lkml@tlinx.org>
Cc: util-linux@vger.kernel.org
Subject: Re: mount --no-canonical seems broken.
Date: Tue, 23 Apr 2013 14:36:48 +0200	[thread overview]
Message-ID: <20130423123648.GB24501@x2.net.home> (raw)
In-Reply-To: <5175BA15.9060803@tlinx.org>

On Mon, Apr 22, 2013 at 03:30:45PM -0700, Linda Walsh wrote:
> 
> I would use mount --no-canonical to rewrite mtab to match fstab so
> 
> my utils could find volumes in /etc/fstab -- but recently in
> util-linux-2.21.2
> this has no longer worked.
> 
> I made sure to have /etc/mtab NOT be a symlink to /proc/self/mounts so
> mount could write to it.  It DOES write to it, but it doesn't display it.
> 
> Example:
> After doing a remount as recommended by the manpage...
> 
>     mount -f --no-canonical -a -o remount

 Well, --no-canonicalize assume that all paths are already
 canonicalized and the remount updates mount options only.


 What exactly do you want to do? Maybe we can try to find a better
 solution than play nasty games with mtab ;-)

    Karel


-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

  reply	other threads:[~2013-04-23 12:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-22 22:30 mount --no-canonical seems broken Linda Walsh
2013-04-23 12:36 ` Karel Zak [this message]
2013-04-24  0:39   ` Linda Walsh
2013-04-25  6:15     ` Linda Walsh
2013-05-20  7:40     ` Karel Zak
2013-05-20 23:30       ` Linda Walsh
2013-05-21  9:47         ` Karel Zak
2013-05-21 19:31           ` Linda Walsh

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=20130423123648.GB24501@x2.net.home \
    --to=kzak@redhat.com \
    --cc=lkml@tlinx.org \
    --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