propagation_would_overmount(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 @from would 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 of to on from ⭐

πŸ’– 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 πŸ”₯

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