FILE-HIERARCHY(7)

โœจ FILE-HIERARCHY(7) โœจ

okay bestie, so this is the manual page for file-hierarchy โ€” and no cap, it's literally the blueprint for how your whole systemd situation is laid out ๐Ÿ’…


๐ŸŽ€ NAME ๐ŸŽ€

file-hierarchy โ€” the systemd file system hierarchy requirements, aka the rules of the land ๐Ÿฐ


๐ŸŒธ DESCRIPTION ๐ŸŒธ

so like, operating systems that run the systemd(1) system and service manager? they're organized based on a file system hierarchy that's inspired by UNIX, exactly as described in UAPI.9 Linux File System Hierarchy[1]. periodt. ๐Ÿ’–

and there's more โ€” extra requirements about when given parts of the hierarchy have to be available during boot are listed in Mount Requirements[2]. so it's not just where things live, it's when they show up. timing is everything, iykyk โœจ

also bestie, a lot of the paths described in here can be queried with the systemd-path(1) tool ๐Ÿซถ like you don't even have to guess, just ask.


๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

  • hier(7)
  • File System Hierarchy[3]
  • XDG Base Directory Specification[4]
  • XDG User Directories[5]

๐Ÿ’œ NOTES ๐Ÿ’œ

  1. UAPI.9 Linux File System Hierarchy https://uapi-group.org/specifications/specs/linux_file_system_hierarchy/
  2. Mount Requirements https://systemd.io/MOUNT_REQUIREMENTS/
  3. File System Hierarchy http://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html
  4. XDG Base Directory Specification https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
  5. XDG User Directories https://www.freedesktop.org/wiki/Software/xdg-user-dirs

and that's the whole vibe, bestie ๐ŸŒˆ this one's from systemd 262.1, so when you see FILE-HIERARCHY(7) floating around, that's your girl. mwah ๐Ÿ’‹ go read your file system, it's giving organized ๐Ÿ‘‘
๐Ÿ“ฆ where this page comes from
  • arch rolling: systemd 262.1-1 ยท LGPL-2.1-or-later AND CC0-1.0 AND GPL-2.0-or-later AND MIT-0
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms