opencontainers / runtime-spec

OCI Runtime Specification
http://www.opencontainers.org
Apache License 2.0
3.13k stars 535 forks source link

config: improve bind mount and propagation doc #1228

Closed kolyshkin closed 9 months ago

kolyshkin commented 9 months ago

Current documentation talks about bind/rbind and various propagation flags (shared, slave, private, unbindable etc.) as being filesystem-specific options, and refers to mount(8) section describing filesystem-specific options.

That is wrong, because bind mounts are a separate class of mounts, not related to file systems.

Fix the confusion, and link to sharedsubtree.txt kernel document as it happens to be the best source of information about the topic (not counting the kernel sources).