Critical.
Authoritative.
Strategic.
Subscribe to CIO Magazine »

Smarter Linux file structure aims to ease software management

GoboLinux does away with the old Unix file system hierarchy; "What is fatal to other distributions is stable here," says NZ developer Michael Homer.

The Unix file system hierarchy has been used for decades and remains the model for most of today’s modern Linux systems, but one distribution, GoboLinux, is making software management easier with an innovative directory structure.

Speaking at this year’s Linux.conf.au Linux and open source conference in Wellington, New Zealand, GoboLinux developer Michael Homer said the standard Unix directory structure has survived for many years, but sometimes it is not optimal for contemporary computing.

“One of the first responses we get is :‘Is there a reason for the directory structure in Unix’, but the problem is a lot of those reasons are not needed anymore,” Homer said.

Homer, also from Wellington, has been a GoboLinux developer for four years and is beginning to communicate the benefits of having each program installed into its own separate (and versioned) directory, which also represents the package database.

An automatically-maintained tree of symbolic links keeps the program contents accessible “without a large overhead in search time” and another set of fixed links maintains compatibility with the original Unix tree.

The end result for software administrators is that any application can be installed using GoboLinux's binary packages, the Compile tool (which accesses an online database of “recipes”) or manually, giving equal results.

“The advantages are with manipulability, parallelism and unpackaged software,” Homer said.

“It is possible to do most package management tasks using the standard file system tools and that’s quite handy. For example, you can remove a program using the rm command, but we have our own tools that wrap up the commands, and they are more efficient.” Regarding “parallelism” it is possible to install multiple versions of the same program at once and switch between versions without any system changes.

“You can take a source package and you can build and install it with all the package management features and you can easily uninstall it later,” Homer said.

“A lot of enterprise software is shipped as a giant tar [archive] ball. You can move it later on in a clean fashion. And you can upgrade to a new version and remove the old version.”

Another advantage of this architecture, Homer says, is the ease in which a system can be rescued in the event of an error.

“With a liveCD we can rescue an entire system no matter what has gone wrong and most people will never need to do a full re-install,” he said. “The administrator knows what is going on all the time. There is no database that gets out of date so if you have broken a system you can always fix a situation. What is fatal to other distributions is stable here.”

Another feature is the ability to have an application in any location without using union mount.

“You can also easily install software to your home directory without root [administrator] access,” Homer said, adding non-standard directories are sometimes used at sites for custom needs.

The GoboLinux project is online at www.gobolinux.org.

Join the CIO Australia group on LinkedIn. The group is open to CIOs, IT Directors, COOs, CTOs and senior IT managers.

More about: Linux
References show all

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
Users posting comments agree to the CIO comments policy.
Login or register to link comments to your user profile, or you may also post a comment without being logged in.
Related Coverage
Related Whitepapers
Latest Stories
Community Comments
Tags: files, GoboLinux, Linux, linux.conf.au, software maintenance, software management, system administrators
Latest Blog Posts
Whitepapers
  • HTML5 and security on the new web
    There are lots of changes happening to the key technologies that power the web. The new version of HTML, the dominant web language, offers impressive enhancements for rich web applications. But as HTML5 comes into greater use we’ll see new security issues arise. It’s typical for a new technology to have defects and pitfalls. And although the standard is still being defined, it's already being implemented. So how does HTML5 stand up to security scrutiny?
    Learn more »
  • Stopping Fake Antivirus: How to Keep Scareware off Your Network
    This paper provides insight into where fake antivirus comes from and how it is distributed, what happens when a system is infected with fake antivirus, and how to stop this persistent threat from infecting your network and your users.
    Learn more »
  • Oracle SOA Suite – Oracle BPEL Process Manager
    Changing markets, increasing competitive pressures and evolving customer needs are placing greater pressure on IT to deliver greater flexibility and speed. In response to these challenges, leading companies are adopting Service-Oriented Architecture (SOA) as a means of delivering on these requirements by overcoming the complexity of their application and IT environments. Read on.
    Learn more »
All whitepapers
rhs_login_lockGet exclusive access to Invitation only events CIO, reports & analysis.
Recent comments