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
-
CachyOS Now Lets Users Choose Their Shell
Imagine getting the opportunity to select which shell you want during the installation of your favorite Linux distribution. That's now a thing.
-
Wayland 1.24 Released with Fixes and New Features
Wayland continues to move forward, while X11 slowly vanishes into the shadows, and the latest release includes plenty of improvements.
-
Bugs Found in sudo
Two critical flaws allow users to gain access to root privileges.
-
Fedora Continues 32-Bit Support
In a move that should come as a relief to some portions of the Linux community, Fedora will continue supporting 32-bit architecture.
-
Linux Kernel 6.17 Drops bcachefs
After a clash over some late fixes and disagreements between bcachefs's lead developer and Linus Torvalds, bachefs is out.
-
ONLYOFFICE v9 Embraces AI
Like nearly all office suites on the market (except LibreOffice), ONLYOFFICE has decided to go the AI route.
-
Two Local Privilege Escalation Flaws Discovered in Linux
Qualys researchers have discovered two local privilege escalation vulnerabilities that allow hackers to gain root privileges on major Linux distributions.
-
New TUXEDO InfinityBook Pro Powered by AMD Ryzen AI 300
The TUXEDO InfinityBook Pro 14 Gen10 offers serious power that is ready for your business, development, or entertainment needs.
-
LibreOffice Tested as Possible Office 365 Alternative
Another major organization has decided to test the possibility of migrating from Microsoft's Office 365 to LibreOffice.
-
Linux Mint 20 Reaches EOL
With Linux Mint 20 at its end of life, the time has arrived to upgrade to Linux Mint 22.