Re: [PATCH 0/2] Add ability to use autofs mount option hint to exclude mount table list entries

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

 



Hi Ian,

On Wed, Nov 16, 2022 at 10:00:39AM +0800, Ian Kent wrote:
> There's further discussion of this in the first patch.
> 
> I started trying to do this quite a while ago, glibc, automount(8) and
> the kernel have been updated to use such a mount option but, for some
> reason, when I canme to update util-linux I thought it would cause
> problems for systemd. But when I looked at what I had done just recently
> I saw that isn't the case so I'm now continuing with this change.

It's definitely no problem if the new behavior is optional and it's    
possible to enable/disable it. So, the systemd can keep it disabled
;-)

> What I've done might not be the prefered way to do this so any comments
> are welcome so it can be done the way it fits best with util-linux.

What about findmnt(8), maybe we can add --autofs=yes/not. 

The problem is that we probably do not want to change the default
output as it's probably already used in many scripts, or is it
acceptable to hide autofs by default? It's already done for glibc, so
it may not be a big issue. Not sure.

    Karel

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




[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