I need to determine an appropriate directory naming structure for a package management system. The original directory structure was not POSIX-compliant in any way and certainly not UNIX-style (you'll notice it's similar to GoboLinux). The structure looked somewhat like this:
/Applications- applications for users (but that users have not themselves installed)
/System/AppResolve- application resolution (effectively
/System/LibResolve- library resolution (effectively
/System/Utilities/Applications- essential applications for system operation
/System/Utilities/Libraries- essential libraries for system operation
Now I need to find a way to represent this directory structure on a more UNIX-like system. AppResolve and LibResolve aren't an issue since
/bin work fine for this, the issue is with the other directories.
Under each of the other directories, applications live in their own folder, so for example you might have this kind of path:
Of course, the
/bin/tar symlink would resolve to this binary.
So the question is this, I need to take this kind of structure and rearrange it to fit within the UNIX-style of naming directories (particularly so that it works with the existing structure on Linux). I thought of the following, but I think it's repetitive and not very nice:
FOR CLARIFICATION: This isn't asking for a mapping to existing UNIX directories; it's asking for the most appropriate leading path for those "user" and "system" directories given the UNIX-naming convention (3-letter directories, etc.)