Smarter Linux file structure aims to ease software management
- 22 January, 2010 14:31
- Comments
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.
- Bookmark this page
- Share this article
- Got more on this story? Email CIO
- Follow CIO on twitter
- Analyst Paper - The Total Economic Impact To IBM WebSphere Application Server Migrating From An Open Source Environment
- 802.11ac Action Plan: A Network-Readiness Checklist
- Expanding Web Single Sign-On to Cloud and Mobile Environments
- Tranzqual Improves User Experience for Mobile Workforce
- Twelve Things to Consider When Implementing Mobile BI
-
Spiceworks' free management software gets integrated MDM
-
Opinion: Why national e-health is not for everyone
-
Opinion: Why national e-health is not for everyone
-
Opinion: Why national e-health is not for everyone
-
Opinion: Why national e-health is not for everyone
-
A Holistic Approach to your BYOD Challenge
More and more enterprises are seeing significant benefits from allowing employees to choose the device they use to get their jobs done, and are adopting bring your own device (BYOD) initiatives. While the BYOD trend increases flexibility and productivity, it introduces a host of new challenges for your IT administrators. Click for more! -
The Foundation for Cloud Management
For businesses looking to provide real-time business solutions to employees and customers alike, you need to have a comprehensive network management strategy. The network is the foundation of all successful cloud services; it must be robust to meet traffic, efficiency, and performance demands. Download today the four steps to get your network operations cloud-ready. -
Managing the Rapid Rise in Database Growth: 2011 IOUG Survey on Database Manageability
As the era of “Big Data” marches on unabated, data is coming from an ever wider range of sources, including transactional systems, mobile devices, sensors, streaming media, and social networks. Businesses are looking for innovative ways to better leverage terabytes—and for some, petabytes—of information. Read more.















