Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

FYI_FS_Hierarchy

Mingcong Bai edited this page Feb 26, 2017 · 1 revision

AOSC-style Filesystem Hierarchy

The filesystem hierarchy used by AOSC OS is based on FHS (Filesystem Hierarchy Standard), version 2.3 - with extra changes made or suggested by Systemd and AOSC OS developers. Only those differentiated from the standard FHS 2.3 specifications will be discussed below.

For the original FHS 2.3 specifications in HTML, please refer to here.

Symbolic Links

In AOSC-style filesystem hierarchy, the /usr/lib and /usr/bin directories serves all libraries and executable binaries available:

  • For all ports: /lib → /usr/lib.
    • For 64-bit ports: /lib64 → /usr/lib, /usr/lib64 → /usr/lib.
  • For all ports: /bin → /usr/bin, /sbin → /usr/bin, /usr/sbin → /usr/bin.

Additionally, two directories in /var are also served as symbolic links:

  • /var/run → /run, and /var/lock → /run/lock.