|
Article on other languages:
|
GoboLinux is a free operating system whose most salient feature is its reorganization of the filesystem hierarchy. Rather than following the Filesystem Hierarchy Standard like most Unix-like systems, under GoboLinux each program has its own subdirectory tree, where all of its files (including settings specific for that program) can be found. Thus, a program "Foo" has all of its specific files and libraries in " /Programs/Foo ". There is no question as to where an "executable" file is - It is in " /Programs/Foo ", in this case. According to the GoboLinux developers, this results in a cleaner system based on the filelayout level.[1]
OverviewThe GoboLinux hierarchy is a radical departure from the filesystem hierarchy traditionally employed by most Linux (and UNIX-like) operating systems, where specific types of files are stored together in common standard subdirectories (such as e.g. bin and man), and package managers are used to keep track of what file belongs to which program. In GoboLinux, files from different programs are separated into different respective subdirectories. While in GoboLinux types of files are also separated into subdirectories, these in turn sit inside their programs' subdirectories. The makers of GoboLinux say that "the filesystem is the package manager", and the GoboLinux package system uses the filesystem itself as a package database. [2] 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 stated that the GoboLinux hierarchy has other "modernisms", e.g. it removes some distinctions between similar traditional directories (such as the executable locations /bin, /usr/bin, and /usr/local/bin). GoboLinux designers claim 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 is claimed that the package management index can never get out of sync, as references to nonexisting files simply are broken links, and thus inactive. GoboLinux's filesystem changes have also allowed other innovations, such as an entirely new boot system that does not use System V or BSD style init systems. File hierarchyThe design of GoboLinux is influenced by earlier systems such as NEXTSTEP, AtheOS and BeOS, 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" programCompile is a program that downloads, unpacks, compiles and installs source tarballs with a single command (such as "Compile foo") using simple compilation scripts known as "recipes"[3]. Compile is somewhat similar [4] to Gentoo's Portage system, which is based on the FreeBSD Ports collection and accomplishes the above actions with scripts known as "ebuilds". But 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 is the package manager, (see "The Ideas Behind Compile"[5]). Compile was introduced in GoboLinux version 011. Before that, there were discussions about porting a Gentoo's Portage system to GoboLinux and developing the port as a Sourceforge project under the name GoboPortage.[6][7] Compile's other features include:
Differences from traditional distributionsFile hierarchyIn the GoboLinux hierarchy, files are grouped by their functional category in an index-like structure using symbolic links, rooted at /System/Links: all executables are accessible under /System/Links/Executables, all libraries are accessible under /System/Links/Libraries 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 developers maintain that, although these distinctions were once very useful, they are no longer necessary in their radically different, modern environment. SymlinksThere 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 under /System/Links, so that crucial pathnames such as /bin/sh and /etc/passwd are resolved correctly. These compatibility directories are concealed from view using a custom kernel modification called GoboHide — this modification, which implements support for hidden files in Linux, is used for aesthetic reasons only and is optional. SuperUserThe SuperUser, traditionally known as "root" with an UID of 0, can be any other name on Gobolinux, chooseable upon installation. Different to other distributions the SuperUser does not gain a /root directory as his home directory, but instead gains one under /User/NAME just like any other user on a linux system gets too. According to hisham's article this decision was because he never liked the notion of a separate superuser. Boot systemGoboLinux 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 can be initialized (for example, Single for single-user, Multi for multi-user, Graphical for boot into graphic mode, and so on) and control that from the boot loader menu. The /System/Settings/BootOptions file separate site-specific settings from the rest of the scripts. Application-specific tasks can be found at /System/Links/Tasks and called by the boot scripts. Releases
Releases are numbered using the octal base system. According to the authors, it was chosen because it keeps the typical leading zero present in many free software version numbers (since a leading zero is the indicator for octal numbers in the C language), and is a play on the "version numbers race" that happened among Linux distributions around 1999: when read as decimal numbers, octal numbers will cause a deterministic "version bump" each eight releases. Up to 013, GoboLinux made no "point releases", to avoid the implication that some releases were more stable than others. This tradition was broken with 014.01, an update of 014 focused on bug fixes.
PortsAs of March 2006, Gobolinux is officially made for the i686 only, and the porting to i386 is domain-specific (thus, incomplete). However, in 2003, Hisham Muhammad, the head developer of the Gobolinux project, wrote a "Quick-and-Dirty Porting Guide"[10] for people who want to port GoboLinux to the PowerPC platform and other architectures. He is also working on a port by himself.[11] Ports have been made to embedded architectures, such as ARM and SuperH, which were easily achieved after Bootstrap,[12] a tool developed especially to automate new ports. References
External links
|
|||||||||||||||||||||||||||||||||||||||||
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net