Subject: Re: misc/1919: merging functionality of netstart, etc, into rc
To: None <netbsd-bugs@NetBSD.ORG>
From: Ty Sarna <>
List: netbsd-bugs
Date: 01/11/1996 02:15:15
In article <>,
Jason Thorpe  <> wrote:
>  > sure it's reasonable to share /etc among different hosts!  On one
>  > machine I hacked on things to use kern.hostid as part of the pathname
>  > for those files....)
> Hmm, an argument for cgd's "magiclinks" :-)

I used to think his magiclinks are a good idea, and I'm back to
thinking true @names is the only workable way due to the stat semantics
issue with magic links. @names don't have this problem. Lites has @names
apparently, BTW. I'd really like to see them in NetBSD too, especially
in a way consistent with Lites (even though I don't run it).

However, knowing these aren't likely to go in (grumble), perhaps if a
"sys" symlink entry in kernfs would be at least workable.  It'd point
to, say, /i386_nbsd11, or whatever.  Then one could link /usr/bin to
/kern/sys/usr.bin, which could be then linked back to
/usr/bin.i386_nbsd11, and link /usr/local/bin to /kern/sys/local.bin,
and link /i386_nbsd11/local.bin to /usr/local/bin.i386_nbsd11, etc. 

Icky, but it'd work and it'd be optional. But @names are still
cleanest method, IMHO...