Util-Linux package development
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Bruce Dubbs <bruce.dubbs@gmail.com>
Cc: David Wilson <dw@botanicus.net>, util-linux@vger.kernel.org
Subject: Re: [PATCH] Add mount -P to hide pseudo filesystems
Date: Thu, 10 Dec 2015 13:22:56 +0100	[thread overview]
Message-ID: <20151210122256.GE2353@ws.net.home> (raw)
In-Reply-To: <5665A178.5050601@gmail.com>

On Mon, Dec 07, 2015 at 09:10:48AM -0600, Bruce Dubbs wrote:
> Karel Zak wrote:
> >On Sun, Dec 06, 2015 at 04:29:23AM +0000, David Wilson wrote:
> >>This is just shorthand for an increasingly necessary yet cumbersome and
> >>error-prone "grep -v" pipe. The alternative was to extend -t to accept
> >>"nopseudofs", but that is tougher on the fingers.
> >
> >  I don't plan to improve mount(8) list output in any way to duplicate
> >  findmnt(8). Please, let's use (and improve) findmnt(8). Thanks.
> >
> >  Anyway,
> >
> >      --real
> >      --net
> >      --pseudo
> >
> >  sounds good for findmnt. Look forward for a patch :-)
> 
> Is it possible to detect --bind in findmnt?

No, nowhere in the system is information about a way how the
filesystem has been mounted to the system. (Well, except obsolete
classic /etc/mtab.)

    Karel

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

      reply	other threads:[~2015-12-10 12:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-06  4:29 [PATCH] Add mount -P to hide pseudo filesystems David Wilson
2015-12-06 10:22 ` Sami Kerola
2015-12-06 12:39   ` David Wilson
2015-12-06 13:40     ` Sami Kerola
2015-12-07 11:34 ` Karel Zak
2015-12-07 15:10   ` Bruce Dubbs
2015-12-10 12:22     ` 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=20151210122256.GE2353@ws.net.home \
    --to=kzak@redhat.com \
    --cc=bruce.dubbs@gmail.com \
    --cc=dw@botanicus.net \
    --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