Under Linux, the shared subtree flags control how a mountpoint is shared with parent and child mount namespaces. These flags include MS_SHARED
, MS_PRIVATE
, and MS_SLAVE
. How can one see which of these flags are set on a particular mountpoint?
These flags don't show up in the output of mount
or in /proc/mounts
.