propagation_would_overmount(9)
π propagation_would_overmount π
okay so bestie, welcome to the propagation_would_overmount(9) page in the Kernel API Manual β it's giving mount-propagation check energy and we're gonna read it together, no cap β¨π¦
πΈ NAME πΈ
propagation_would_overmountβ check whether propagation from@fromwould overmount@toπ
β¨ SYNOPSIS β¨
bool propagation_would_overmount (const struct mount *from , const
struct mount *to , const struct mountpoint *mp );
π ARGUMENTS π
fromβ shared mount π«Άtoβ mount to check πmpβ future mountpoint oftoonfromβ
π DESCRIPTION π
So here's the tea β: if from propagates mounts to to, then from and to must either be peers, or one of the masters in the hierarchy of masters of to must be a peer of from. that's the rule, periodt π
And if the root of the to mount is equal to the future mountpoint mp of the to mount on from, then to will be overmounted by whatever is propagated to it ππ₯
π§ CONTEXT π§
This function expects namespace_lock to be held, and it also expects that mp is stable πβ¨ no cap, those are the vibes it needs.
π RETURN π
If from overmounts to, true is returned; if not, false is returned ππ
π₯ SEE ALSO π₯
- Kernel file
./fs/pnode.cβpropagate_mnt(9),propagate_umount(9)π
mwah π this page lives under the source/version ./fs, dated October 2026, and it's the propagation_would_overmount(9) manual β bye bestie, go check those mounts π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms