From: Karel Zak <kzak@redhat.com>
To: Eric Rannaud <eric.rannaud@gmail.com>
Cc: util-linux@vger.kernel.org, Dave Reisner <d@falconindy.com>
Subject: Re: Using findmnt in the presence of a stale NFS mount
Date: Mon, 16 Jun 2014 16:00:47 +0200 [thread overview]
Message-ID: <20140616140047.GL30975@x2.net.home> (raw)
In-Reply-To: <20140616132816.GK30975@x2.net.home>
On Mon, Jun 16, 2014 at 03:28:16PM +0200, Karel Zak wrote:
> > As it is, it is impossible to upgrade an Arch Linux install when there
> > is a stale NFS mount anywhere on the system (and listed in fstab).
>
> You can try to exclude NFS at all by --types nonfs, but maybe we can
> add option --nocanonicalize. I'll try to play with that tomorrow.
OK, tomorrow is now ;-) (the option added)
The problem is that this is not commonly usable solution, because it
very significantly affects the way how libmount search in fstab,
mountinfo etc. The option disallow to reliable compare symlinks, tags etc.
It would be better to have NFS specific solution, or in the
update/install script use --types nonfs and when only if not found
required directories try fallback solution with --nocanonicalize or
so.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
next prev parent reply other threads:[~2014-06-16 14:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-10 15:03 Using findmnt in the presence of a stale NFS mount Eric Rannaud
2014-06-16 13:28 ` Karel Zak
2014-06-16 14:00 ` Karel Zak [this message]
2014-06-16 16:02 ` Eric Rannaud
2014-06-17 12:37 ` Karel Zak
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=20140616140047.GL30975@x2.net.home \
--to=kzak@redhat.com \
--cc=d@falconindy.com \
--cc=eric.rannaud@gmail.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