path_mounted(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so this is path_mounted(9), live from the Kernel API Manual πŸ’– β€” and the vibe is exactly this: check whether path is mounted ✨


✨ SYNOPSIS ✨

bool path_mounted (const struct path *path );

πŸŽ€ ARGUMENTS πŸŽ€

  • path β€” the path to check, bestie 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

This one is here to determine whether path refers to the root of a mount. That's the whole plot πŸ‘‘ β€” it's giving very focused, very main-character energy, and honestly? Obsessed πŸ’…


πŸ’… RETURN πŸ’…

Returns true if path is the root of a mount, and false if it's not. No maybe, no "it's complicated," no cap 😭


πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./fs/internal.h β€” go peek if you're curious πŸ‘€

byeee πŸ’– β€” cute little sign-off from source/version ./fs, dated October 2026, for path_mounted(9), over and out 🫢✨

πŸ“¦ where this page comes from