On Wed, Jun 07, 2017 at 05:52:02PM +0200, Karel Zak wrote: > 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... $ git blame -L889,+1 src/core/mount.c 83897d54 (Neil Brown 2017-06-07 22:28:23 +1000 889) r = exec_command_set(m->control_command, UMOUNT_PATH, m->where, "-c", NULL); OK.... ;-) Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html