[Helidelinux-devel] Linux registry
Status: Abandoned
Brought to you by:
rveen
From: Rolf V. <rol...@he...> - 2004-04-01 15:03:08
|
My (old) idea was to create a /data directory and a dpath command so that we could have: # dpath system.hostname # dpath pkg.apache.conf.DocRoot The dpath would map paths to directory/OGDL files inside /data. It also could dive into executables, if it finds one along the path (if a path element corresponds to an executable, asume it will print OGDL to stdout, and continue from there). There are two approaches to get the data: 1) Publish the data that you want to be accesible thru dpath in /data (by means of a symlink for example). Example: system.conf -> /data/system/conf/ 2) Filter some paths to different system locations, as Example: users.nobody -> /home/nobody/data/ Example 2: user.mail.conf -> $HOME/data/mail/conf The second approach only needs a series of rules in dpath while the second needs that the package manager takes care of placing the appropiate symlinks into the /data space. Regarding security, I guess we should left that to the file system (which after all probably has ACL as an option). Rolf. |