]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: update TODO
authorKarel Zak <kzak@redhat.com>
Tue, 11 Oct 2011 14:41:34 +0000 (16:41 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 11 Oct 2011 14:41:34 +0000 (16:41 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
Documentation/TODO

index 112b14e496d22beb24eeaa86bd34989aaa4590b3..2a4ab22f7b230e4ba76bf1f7edd734ec2911a1d2 100644 (file)
@@ -30,6 +30,18 @@ libmount (mount/umount)
  features should be implemented to libmount or to the new mount/umount
  implementation in the libmount/samples/ directory.
 
+ - support MS_PROPAGATION flags in fstab -- note that kernel assumes that
+   these flags are not mixed with another mount flags, it means that:
+
+       /dev/sda1       /mnt/foo        auto    ro,shared
+
+   has be implemented by two syscalls:
+
+       mount("/dev/sda1", "/mnt/foo", "ext4", MS_RDONLY, NULL);
+       mount(NULL, "/mnt/foo", "none", MS_REMOUNT|MS_SHARED, NULL);
+
+   yeah, there is race ;-(
+
  - (!) on systems with regular mtab file it is impossible to umount by "umount
    /dev/loop0" if the loop device has been created by "mount -o loop", because
    there is backing file in the mtab (instead of the device name).