Filesystem Layout

From SoL 25 Wiki

Jump to: navigation, search

The SoL 25 filesystem layout is traditionally different to other distributions in that it features the "/server" directory, where services live in their own seperate directories. SoL 25 further extends this encapsulation concept by reorganizing and refining the directory layout.

Contents

[edit] Key Principles

  • All configuration files are in /etc
  • All runtime data is in /var
  • Server applications (see Services) on which other applications depend, are in /usr/server
    All servers that provide client libraries, e.g. MySQL, OpenLDAP, Kerberos fall under this category. Xorg belongs here as well.
  • Server applications where no applications depend on, are in /server
    E.g. ProFTPD, Zope, Exim
  • There is no /usr/local directory, it is a link to /usr
  • Compile tools are isolated in /atbstools
    If you don't want or don't need (e.g. for security reasons) compile tools on your server machine, you can simply remove this directory without doing any damage to the system.
  • Xorg and things that belong to it (e.g. window managers like fluxbox and Enlightenment, the Gnome and QT libraries, etc.) are in /usr/server/X11R72, the good old /usr/X11R6 is just a symbolic link to this directory for compatibility reasons.
  • Independent software packages (that mostly have a GUI and depend on X) are installed in /opt in their own seperate directories, which makes it easy to update or remove them.

[edit] Flat vs. Split Layout

When you install SoL 25, you may choose between the Flat and Split filesystem layout.

[edit] Flat Layout

This is the traditional layout, where you have one partition where everything will be installed.

[edit] Split Layout

Apart from the root partition, you have two additional partitions for the configuration directory "/etc" and the data directory "/var". This has various advantages, for example, you can easily switch or update the underlying system, create a RAID just for your data partition, mount the root partition read-only, and so on.

Views
Personal tools