Chapter 8. File System Layout

Table of Contents

/etc: Host-specific system configuration
/etc/apk: Configuration files for the package manager

In this chapter, we will review directories and files common to all Adélie Linux systems. Adélie Linux is based on the Filesystem Hierarchy Standard (FHS) 3.0 specification; directories and files specified in FHS are not covered here.

/etc: Host-specific system configuration

Purpose

As in FHS, the /etc hierarchy contains configuration files specific to a single host.

Requirements

The following directories, or symbolic links to directories, must be present in /etc:

Table 8.1. Directories required in /etc

Directory Description
apk Configuration for the package manager

The following files, or symbolic links to files, must be present in /etc:

Table 8.2. Files required in /etc

File Description
adelie-release Version and release information about the currently installed system software

Specific Options

The following files, or symbolic links to files, must be present in /etc, if the corresponding subsystem is installed:

Table 8.3. Files optional in /etc

File Description
abuild.conf Configuration for building packages (optional)
inputrc Configuration for Bash shell (optional)
ld-musl-$ARCH.path Additional search paths for the dynamic linker (optional)

/etc/apk: Configuration files for the package manager

Purpose

/etc/apk is used for configuring the Adélie Linux package manager, as described in Chapter 3, Package Management.

Requirements

The following directories, or symbolic links to directories, must be present in /etc/apk:

Table 8.4. Directories required in /etc/apk

Directory Description
keys Public keys for the repositories listed in repositories to ensure package integrity

The following files, or symbolic links to files, must be present in /etc/apk:

Table 8.5. Files required in /etc/apk

File Description
repositories A list of repositories for search and retrieval of packages
world A list of packages currently required for the host