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 ๐
- UAPI.9 Linux File System Hierarchy
https://uapi-group.org/specifications/specs/linux_file_system_hierarchy/ - Mount Requirements
https://systemd.io/MOUNT_REQUIREMENTS/ - File System Hierarchy
http://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html - XDG Base Directory Specification
https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html - 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