HorOS
… a visionary distribution study


        


Filesystem Layout

This is the current file system hierarchy! It reflects the stand of the latest/current build of qlinux. It is still a Draft!

Top-Level Directories

/apps unused right now
/data non-executable data which does not belong to a package (not data usually under “share”)
/exec a pool for executables which are not in the PATH, single binaries/scripts, symlinks for apps/misc/plng executables
/home home directories of users and services which requires a dedicated user(s) and home directory
/libs libraries not relevant to the OS, usually shared libs
/misc software which doesn't match to a category, small packages
/mntp mount points, the real mountpoints shall be sub directories
/plng programming languages (perl, python)
/qlnx the OS itself, see Subdirectories of the OS (only) too
/xsys the X windows system

The directories  /qlnx ,  /plng ,  /misc  and  /libs  are considered as main categories.

Second Level Directories

Subdirectories of Category Directories

bin all executables (incl. “sbin” files) for packages in this top-level directory FIXME
dat partially replacement of  /usr/share  from packages in this top-level directory
etc config files from packages in this top-level directory
inc header files from packages in this top-level directory
lib libraries from packages in this top-level directory
man man pages from packages in this top-level directory

Subdirectories of the OS (only)

This is the operating system directory. It shall contain OS related software/packages only.

dev linux kernel (tmpfs)
log all logfiles1), sometimes as symlinks
prc linux kernel (tmpfs)
run linux kernel (tmpfs)
sys linux kernel (tmpfs)
var variable data exclude directories log, run and tnp, reduced number of subdirectories and levels
X the X desktop, xorg server and the default desktop (lxqt?)

Eliminated Directories

/boot moved to  /qlnx/etc/boot 
/bin files will be stored direct inside a top level directory 2)
/etc splitted to separate  etc 's per top-level directory
/home not really eliminated, but a top level directory with extended usage (see below)
/root moved to  /home/admin  (see below)
/sbin files (admin executables) are now in  /qlnx  with mode 0754
/usr removed without direct substitution
/usr/share commonly moved to  dat  for data, otherwise depending on type of file(s), depends on category always
/usr/local n/a without direct substitution
/usr/libexec moved to  bin/libexec  depending on category
/var partially moved to  /qlnx/var , some former folders are directly under  /qlnx  now

Over Directories

The "/home Directory

The  /home  directory contains 3 sub directories:

 /home/admin  the home directory of the root user
 /home/srvcs  directories of services/daemons which requires a dedicated user and are not part of the core of qLinux
 /home/users  home directories for ordinary users (similar to the traditional  /home )
/etc/default not defined yet
/libs/etc/ssl/certs the central directory for certs
1)
Exception: the X windows system uses  /xsys/log 
2)
this includes  /usr/(s)bin  and  /usr/local/(s)bin