Bug in mount(8)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

This is not a kernel problem, but I think here is the nearest place.

I noticed that mount(8) of util-linux-2.13-0.44.fc6 is passing
wrong flags when 'mount --make-unbindable' is requested.
The mount command is passing MS_MGC_VAL instead of MS_UNBINDABLE(0x20000)
for 'mount --make-unbindable', while it is passing correct flags for
'mount --make-private' 'mount --make-shared' and 'mount --make-slave'.
I don't know this bug is FC6 specific or not.
Can you reproduce?
Regards.



# mount -t tmpfs none /mnt/

# strace mount --make-unbindable /mnt/

mount("none", "/mnt", "tmpfs", MS_MGC_VAL, "") = 0

# strace -e raw=mount mount --make-unbindable /mnt/

mount(0x9d7ce20, 0x9d7ce30, 0x9d7ce40, 0xc0ed0000, 0x9d7d508) = 0
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux