From: Karel Zak Date: Tue, 11 Oct 2011 14:41:34 +0000 (+0200) Subject: docs: update TODO X-Git-Tag: v2.21-rc1~337 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66388d95fc45c05ea14bf23d6a360a1757e9d9a8;p=thirdparty%2Futil-linux.git docs: update TODO Signed-off-by: Karel Zak --- diff --git a/Documentation/TODO b/Documentation/TODO index 112b14e496..2a4ab22f7b 100644 --- a/Documentation/TODO +++ b/Documentation/TODO @@ -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).