File Hierarchy Standard


The goal of this project is to document the FHS 3.0 used by Kit FreeMiNT (directory tree only).

Status: ☑️

The Filesystem Hierarchy Standard (FHS) is a reference describing the conventions used for the layout of Unix-like systems.

The root filesystem

  • /bin Essential user command binaries
  • /boot Static files of the boot loader
  • /dev Device files
  • /etc Host-specific system configuration
    • /etc/opt Configuration files for /opt
  • /home User home directories (optional)
  • /lib Essential shared libraries and kernel modules
  • /media Mount point for removable media
  • /mnt Mount point for a temporarily mounted filesystem
  • /opt Add-on application software packages
  • /root Home directory for the root user (optional)
  • /run Run-time variable data
  • /sbin System binaries
  • /srv Data for services provided by this system
  • /tmp Temporary files

The /usr hierarchy

  • /usr/bin Most user commands
  • /usr/include Directory for standard include files
  • /usr/lib Libraries for programming and packages
  • /usr/local Local hierarchy
    • /usr/local/share Local architecture-independent hierarchy
  • /usr/sbin Non-essential standard system binaries
  • /usr/share Architecture-independent data
    • /usr/share/man Manual pages
    • /usr/share/misc Miscellaneous architecture-independent data
    • /usr/share/palettes Color palettes for both VDI and AES

The /var hierarchy

  • /var/cache Application cache data
  • /var/lib Variable state information
    • /var/lib/misc Miscellaneous variable data
  • /var/lock Lock files
  • /var/log Log files and directories
  • /var/opt Variable data for /opt
  • /var/run Run-time variable data
  • /var/spool Application spool data
  • /var/tmp Temporary files preserved between system reboots

Kit FreeMiNT specific

  • /host Host clipboard access (ARAnyM)
  • /kern Linux-like /procfs
  • /lib/gemsys VDI drivers
  • /pipe Pipes
  • /proc Process list
  • /ram Internal RAM-disk
  • /shm Shared memory
  • /usr/pkg pkgsrc hierarchy
    • /usr/pkg/etc/GEM Configuration of GEM applications
    • /usr/pkg/GEM GEM applications
    • /usr/pkg/GEM/accs GEM accessories
    • /usr/pkg/libexec/gemsys GEM extensions (cpx, screensavers...)
    • /usr/pkg/share/guides ST-Guide documention for GEM applications
    • /usr/pkg/share/locale/xx/LC_RESOURCES RSC files for GEM applications
  • /usr/pkgsrc pkgsrc infrastructure
  • /var/cache/clipbrd GEM clipboard

Files

Links

Previous Next