Redefining Linux's filesystem hierarchy

Distro Walk – GoboLinux

© Photo by Angie Corbett-Kuiper on Unsplash

© Photo by Angie Corbett-Kuiper on Unsplash

Article from Issue 295/2025
Author(s):

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].

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Re-thinking the filesystem

    Explore this novel Linux distro, which throws out the old Unix filesystem hierarchy in favor of something more modern.

  • Next Gen Distributions

    With systemd poised to revolutionize the init process, we look at Linux distributions that have left the familiar path, use new approaches and techniques, and are paving the way for the next generation of Linux distros.

  • GNU Stow

    Stow helps you manage custom configuration files across multiple users and computers, as well as organize your dotfiles.

  • Peculiar Distributions

    Linux distributions proliferate like butterflies. Linux Magazine went hunting for some strange and particularly surprising specimens.

comments powered by Disqus
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.

Learn More

News