Re: [autofs PATCH] Add -c option when calling /bin/umount - if supported.

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

 



On Wed, Jun 07, 2017 at 10:32:49AM +1000, NeilBrown wrote:
> 
> The "-c" option has been supported by umount since util-linux 2.17.
> It tells umount that the path name is "canonical", meaning no
> symlinks or ".." etc.
> This is appropriate for autofs to use and it always uses canonical
> path names.
> The advantage of "-c" is that it means umount doesn't need to
> 'lstat()' the path so much.

It would be also nice to force systemd to use "umount -c" on shutdown
to avoid automount storm...

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe autofs" in



[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux