Re: [PATCH] Add mount -P to hide pseudo filesystems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux