]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: update TODO
authorKarel Zak <kzak@redhat.com>
Wed, 7 Feb 2018 10:37:32 +0000 (11:37 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 7 Feb 2018 10:37:32 +0000 (11:37 +0100)
Let's think about "mount --onlyonce".

Addresses: https://github.com/karelzak/util-linux/issues/448
Signed-off-by: Karel Zak <kzak@redhat.com>
Documentation/TODO

index 4dc643c103b7a55299cf49a714e248c0d4331956..092289146efafc41f8132935a8bd98369acd527f 100644 (file)
@@ -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 <mountpoint>" 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