Redefining Linux's filesystem hierarchy
Distro Walk – GoboLinux

© Photo by Angie Corbett-Kuiper on Unsplash
GoboLinux's revised directory structure just might be the future of Linux.
The standard Linux directory structure has changed only in minor ways since the days of Unix. Most of these changes are slight, such as the addition of the /media
directory for external drives and /sbin
for binaries that require root privileges, the adjustment of symbolic links between /bin
and /user/bin
, or the addition of virtual directories such as /proc
. In addition, from time to time, some distributions add their own unique directories. Fedora, for instance, installs with an /selinux
directory. In addition, many distributions, including Ubuntu, standardize home directories, installing with subfolders such as Desktop
, Downloads
, Documents
, and Pictures
. Otherwise, the general structure has remained largely unchanged, partly due to the semi-successful Linux Standard Base [1] (which first appeared at the turn of the millennium), partly due to the dominance of a handful of distributions being the source of dozens of others, and mainly because the file hierarchy is good enough for general purposes and needs only occasional tweaks and updates.
However, returning after almost a five-year absence and with a new project leader, GoboLinux is an experiment in a radical new structure [2]. As the project homepage explains, "GoboLinux was created out of a desire to try new approaches in the Linux distribution design space." GoboLinux 017 continues this journey with a focus on the exploration of novel ideas aimed at making the system simpler yet functional.
The Revision
First, a quick reminder of what you probably already know. Famously, everything in Linux is treated as a file, from application files to external drives and partitions. The directory hierarchy gives every file a place (Table 1). Beneath the root
directory, indicated by a forward slash (/
), libraries are placed in /lib
, binaries in /bin
or similarly named subdirectories like /usr/bin
, temporary files in /tmp
, and so on. The basic structure is reproduced in applications and subdirectories, giving at least a semi-consistency throughout the system. If you need a reminder, the Debian Project has a page that includes a table of the top-level directories and describes the relationship between them [3].
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

News
-
Linux Kernel 6.15 Now Available
The latest Linux kernel is now available with several new features/improvements and the usual bug fixes.
-
Microsoft Makes Surprising WSL Announcement
In a move that might surprise some users, Microsoft has made Windows Subsystem for Linux open source.
-
Red Hat Releases RHEL 10 Early
Red Hat quietly rolled out the official release of RHEL 10.0 a bit early.
-
openSUSE Joins End of 10
openSUSE has decided to not only join the End of 10 movement but it also will no longer support the Deepin Desktop Environment.
-
New Version of Flatpak Released
Flatpak 1.16.1 is now available as the latest, stable version with various improvements.
-
IBM Announces Powerhouse Linux Server
IBM has unleashed a seriously powerful Linux server with the LinuxONE Emperor 5.
-
Plasma Ends LTS Releases
The KDE Plasma development team is doing away with the LTS releases for a good reason.
-
Arch Linux Available for Windows Subsystem for Linux
If you've ever wanted to use a rolling release distribution with WSL, now's your chance.
-
System76 Releases COSMIC Alpha 7
With scores of bug fixes and a really cool workspaces feature, COSMIC is looking to soon migrate from alpha to beta.
-
OpenMandriva Lx 6.0 Available for Installation
The latest release of OpenMandriva has arrived with a new kernel, an updated Plasma desktop, and a server edition.