From: Karel Zak Date: Wed, 7 Feb 2018 10:37:32 +0000 (+0100) Subject: docs: update TODO X-Git-Tag: v2.32-rc1~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=256298191cb09e04af6d44d434a35c7e9c203a42;p=thirdparty%2Futil-linux.git docs: update TODO Let's think about "mount --onlyonce". Addresses: https://github.com/karelzak/util-linux/issues/448 Signed-off-by: Karel Zak --- diff --git a/Documentation/TODO b/Documentation/TODO index 4dc643c103..092289146e 100644 --- a/Documentation/TODO +++ b/Documentation/TODO @@ -60,6 +60,12 @@ bash completion libmount (mount/umount) ----------------------- + - add --onlyonce to force mount(8) to check if mountpoint is already used. Now + "already mounted" detection is used for --all only. The problem is if you + call "mount " more than once for in fstab defined tmpfs (or network + filesystem etc.). In this case kernel does not return EBUSY, but a new instance + of the FS is created. https://github.com/karelzak/util-linux/issues/448 + - support CAP_SYS_ADMIN; for mount(2) syscall the CAP_SYS_ADMIN is good enough. Unfortunately, mount(8) does more things like check for filesystem type (but it's usually done by udev, so root perms are unnecessary), create