GoboLinux

GoboLinux

GoboLinux desktop
OS family Unix-like
Working state Current[1]
Source model Open source
Initial release 2003 (2003)
Latest release 015 / May 7, 2014 (2014-05-07)
Available in German, English, Hungarian, Portuguese, Spanish
Platforms i686 and x86_64
Kernel type Monolithic ( Linux)
Default user interface Enlightenment
License GNU General Public License
Official website gobolinux.org

GoboLinux is an open source operating system whose most prominent feature is a reorganization of the traditional Linux file system. Rather than following the Filesystem Hierarchy Standard like most Unix-like systems, each program in a GoboLinux system has its own subdirectory tree, where all of its files (including settings specific for that program) may be found. Thus, a program "Foo" has all of its specific files and libraries in /Programs/Foo. According to the GoboLinux developers, this results in a cleaner system.[2]

Overview

The GoboLinux hierarchy represents a radical departure from the filesystem hierarchy traditionally employed by most UNIX-like operating systems where specific types of files are stored together in common standard subdirectories (such as /bin for executables and /etc for configuration files) and where package managers are used to keep track of what file belongs to which program. In GoboLinux, files from each program are placed under their respective program's own dedicated subdirectory. The makers of GoboLinux have said that "the filesystem is the package manager", and the GoboLinux package system uses the filesystem itself as a package database.[3] This is said to produce a more straightforward, less cluttered directory tree. GoboLinux uses symlinks and an optional kernel module called GoboHide to achieve all this while maintaining full compatibility with the traditional Linux filesystem hierarchy.

The creators of GoboLinux have stated that their design has other "modernisms", such as the removal of some distinctions between similar traditional directories (such as the locations of executables /bin, /usr/bin, and /usr/local/bin). GoboLinux designers have claimed that this results in shell scripts breaking less often than with other Linux distributions. GoboLinux also allows the user to have different versions of the same program installed concurrently (and even run them concurrently). Furthermore, it has been claimed that the package management index could never become unsynchronized with the filesystem, because references to nonexistent files simply become broken links, and thus become inactive. GoboLinux's filesystem changes also allow other innovations, such as an entirely new boot system that does not use System V or BSD style init systems.

File hierarchy

Screenshot of the File hierarchy

The design of GoboLinux was influenced by earlier systems such as NeXTSTEP, AtheOS, and BeOS, all of which adopted original filesystem structures while still maintaining a considerable degree of compatibility with Unix. At the root of the GoboLinux tree, there are six directories: Programs, Users, System, Files, Mount, and Depot. The contents of each are described below.

"Compile" program

Compile is a program that downloads, unpacks, compiles source code tarballs, and installs the resulting executable code, all with a single command (such as Compile foo) using simple compilation scripts known as "recipes".[4]

The Compile system is somewhat similar to Gentoo's Portage system,[5] which is based on the FreeBSD Ports collection. However, Portage is made for a traditional filesystem hierarchy, compatible with the Filesystem Hierarchy Standard, while Compile extends the capability of GoboLinux's distinctive filesystem hierarchy into the area of package management. Thus, in GoboLinux, the filesystem itself serves naturally as a kind of package manager database.[6]

The Compile program was introduced in GoboLinux version 011. Before that, there were discussions about porting Gentoo's Portage system to GoboLinux and developing the port as a SourceForge.net project under the name GoboPortage.[7][8]

Compile's other features included:

The use of each program's own download site
The distribution's repository (or one of its mirrors) is only used for downloading recipes. Recipes may be downloaded on-the-fly or in batch.
Minimalistic and declarative-oriented compilation scripts
Typical "configure; make; make install" software may be scripted in two lines, greatly easing maintenance.
Support of GoboLinux-style dependencies
Software compiled "by hand" by the user is taken into account by a detection mechanism.
Path-agnosticism
It also works in a rootless GoboLinux installation (that is, inside a home directory of any other distribution).[9]

Differences from traditional distributions

File hierarchy

In the GoboLinux hierarchy, files are grouped into functional categories in an index-like structure using symbolic links, rooted at /System/Index: All executables are accessible under /System/Index/bin, all libraries are accessible under /System/Index/lib, and so on. This eliminates many traditional distinctions in the Filesystem Hierarchy Standard, such as the distinction made between non-essential files stored in /usr and essential, emergency files stored directly in subdirectories of the root directory. The GoboLinux developers have maintained that, although these distinctions were once very useful, they are no longer necessary under GoboLinux's schema.

There are symbolic links relating most of the usual Unix directories to the GoboLinux tree. Therefore, one can find directories such as /etc, /var/log, and /usr/bin in the expected places. These symbolic links point to the functional equivalent in the /System/Index tree; thus, traditionally crucial path names (such as /bin/sh and /etc/passwd) are resolved correctly. These compatibility directories are concealed from view using a custom kernel modification called GoboHide, which implements support for hidden files in Linux; it is used for aesthetic reasons only and is thus an optional feature.

Boot system

GoboLinux uses its own initialization procedure, unlike most Linux distributions which use a BSD or a System V procedure. At /System/Settings/BootScripts are a few files that command the entire boot procedure: BootUp and Shutdown run at system boot and shutdown, respectively; additionally, it is possible to define "runlevel" scripts to specify different ways the system may be initialized (for example, Single for single-user, Multi for multi-user, Graphical for boot into graphic mode, and so on); this can be controlled from the boot loader menu. The /System/Settings/BootOptions file separates site-specific settings from the rest of the scripts. Application-specific tasks can be found at /System/Tasks; they can be called by the boot scripts.

Releases

Releases have been numbered using the octal base system. According to the authors, this scheme was chosen because it keeps the typical leading zero that is present in many free software version numbers (since a leading zero often indicates that a number is octal), and it is a play on the "version numbers race" that happened among Linux distributions around 1999. When read as decimal numbers, using octal numbers causes a deterministic "version bump" each eight releases. Up to version 013, GoboLinux made no "point releases", in order to avoid the implication that some releases were more stable than others. This tradition was broken with version 014.01, an update of 014 focused on bug fixes.

Ports

Gobolinux has been officially made for the i686 only, and the porting to i386 remains incomplete. Ports have been made to embedded architectures, such as ARM and SuperH; these tasks were easily achieved with Bootstrap,[11] a tool developed especially to automate making ports.

References

  1. Distrowatch (2014-03-05). "Project status listed as Active as of Wednesday 5 March 2014 06:13 GMT". Retrieved 2014-03-10.
  2. Hisham Muhammad (May 9, 2003). "The Unix tree rethought: an introduction to GoboLinux". Retrieved 2008-03-17.
  3. Marc Weinem (2008-03-13). "Simplified package management on GoboLinux - an interview with Lucas Villa Real". Retrieved 2008-03-31.
  4. Mayank Sharma (2007-02-14). "GoboLinux's recipe for delicious package management". Linux.com. Retrieved 2009-07-19.
  5. "GoboLinux Compile -- A Scalable Portage?". Slashdot. 2004-06-05. Retrieved 2009-07-19.
  6. "The Ideas Behind Compile". GoboLinux. Retrieved 2009-07-19.
  7. Gentoo Forums : View topic - GoboGentoo
  8. SourceForge.net: GoboPortage
  9. Mayank Sharma (2007-08-21). "GoboLinux: An Interview with Lucas Villa Real". Retrieved 2008-03-31.
  10. Thom Holwerda (April 4, 2008). "GoboLinux 014.01 Released". Retrieved 2008-04-04.
  11. GoboLinux Embedded
This article is issued from Wikipedia - version of the 11/11/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.