path_mounted(9)
πΈ 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
- 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