Ubuntu Manpages

file-hierarchy

systemd file system hierarchy requirements

Operating systems using the systemd(1) system and service manager are organized based on a file system hierarchy inspired by UNIX, as described in UAPI.9 Linux File System Hierarchy[1]. Additional requirements on when given parts of the hierarchy must be available during boot are listed in Mount Requirements[2].

Many of the paths described here can be queried with the systemd-path(1) tool.

File System Hierarchy[3]
XDG Base Directory Specification[4]
XDG User Directories[5]

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