[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proposal: /etc /usr/etc /usr/local/etc



Vadim Vygonets writes:
 > On Thu, 3 Jul 1997, Yann Dirson wrote:
 > 
 > > Vadim Vygonets writes:
 > > > On Tue, 1 Jul 1997, Yann Dirson wrote:
 > > > 
 > > > > Then I guess that having some sort of "search path" for config files,
 > > > > that is looking first if /etc contains a conffile, and only if not,
 > > > > taking the one installed in /usr/etc. This could even be made to use
 > > > > conffiles for groups (sub-sites) of computers, by using
 > > > > /etc:/nfs/mygroup/etc:/usr/etc as a search path.

 > > > > Another solution, probably needingless work, wouldbe to implement
 > > > > some mechanism in the filesystem driver (yes, I do seem to like this
 > > > > kind of ideas :) to make all reference to an inexistant file under
 > > > > /etc be handled as a link to a file of the same name under
 > > > > /usr/etc. That would be some sort of "default link" associated with a
 > > > > directory. Such a mechanism, when properly detected by autoconf and
 > > > > handled by user-programs, might help other programs too (though I
 > > > > hardly see which ones for now :)
 > > > 
 > > > Nah.  It'stoo hairy for this simple thing.  I think the first
 > > > solution is better. 
 > > 
 > > It'd be available more quickly than if you had to hack all
 > > packages... and at least it'd be a good exercise implementing that!
 > > Maybe I could find some time to do that ?
 > 
 > Ya mean, kernel?  Or something amd-like?  It still looks to hairy for
 > our goal, but tell me more.

I meant e2fs module; yes that's quite near to kernel :). I was
thinking about some sort of file attribute (though it'd more that just
a flag); I think it would quite near to ACL, implementationnally
speaking: it's just a bunch of data that gets associated with an
inode, and which is interpreted by the fs-driver when accessing the
file (here, the directory)

BTW, thinking about other FS's: there are people booting over network,
tuhs having their root-FS a NFS one. But I do not think that is a
problem. Any comment ?

About ACL's: they seem to be planned since quite a long time, but
there is still not much code supporting them in 2.1.43 kernel. I think
I'll have to mail Remy Card to find out about that; it could help much.

About amd: I just knows it does exist, but not much more; especially,
why is it useful to automount ? just to save the kernel-allocated
memory used by the mounted FS ?

 > > > I repeat: look at other Unices.  Their solution is as simple as it can
 > > > be: a config file in /usr, that's all.  But your first solution is
 > > > acceptable, too.
 > > 
 > > Yes, these other unices' solution seems far less general...
 > 
 > What do you mean?

The solution of putting everything into /usr/etc is IMHO less general
than having a search path, be it in apps or in FS-driver.
-- 
Yann Dirson <dirson@univ-mlv.fr>
http://monge.univ-mlv.fr/~dirson


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: