User Tools

Site Tools


qLinux
… a distribution study




Filesystem Layout

This is the first file system hierarchy, used by qLinux 0.1!

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 diectory
/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
/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
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)
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 
/etc splitted to  etc  per top-level directory
/home see below
/root moved to  /home/admin  (see below)
/sbin files (admin executables) are now in  /qlnx/bin  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