Linux packaging system and file hierarchy

Eugene Gorodinsky e.gorodinsky at gmail.com
Wed Nov 12 03:28:05 PST 2008


I've been toying with the idea of a packaging system which would allow for
file hierarchy independence. Today the Linux File Hierarchy is quite
complex: several folders for binaries, several folders for *.conf files,
several folders for *.so files etc. While this hierarchy may be good for a
server environment, is far too complex for a  desktop linux environment, as
it isn't very intuitive. Another problem with the hierarchy is that
different distributions use different paths, so packages used in one distro
may not be good for another distro, thus the users have to look for
repositories with packages for their own distro, and the maintainers have to
waste quite a lot of time on building and testing those packages which have
already been built by someone else for some other distro. The LSB project
tries to solve this by standardizing the file hierarchy, but maybe there's a
better way.

By letting the distro decide where to place files contained in the package
we can solve the problem of maintaining multiple repositories of the same
packages but for different distros, and also allow developers of different
distros to create thir own file hierarchies - ones they think are better
(for example a file hierarchy used by GoboLinux or a file hierarchy in the
user's own language). I'm not sure how feasible that is, though. One problem
I can think of is when a program tries to open it's own config file or image
file etc. using a path like '../etc/program.conf' or
'../share/program/image'. So my question is: what other problems does anyone
else see in implementing something like that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/xdg/attachments/20081112/ea2ab842/attachment.html 


More information about the xdg mailing list