Subject: Re: misc/1919: merging functionality of netstart, etc, into rc
To: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
From: Jason Thorpe <>
List: netbsd-bugs
Date: 01/10/1996 13:15:08
On Wed, 10 Jan 1996 13:42:15 -0500 
 der Mouse <mouse@Collatz.McRCIM.McGill.EDU> wrote:

 > - "fsck -p" becomes "fsck -f -p".  And it stays that way at least until
 >   clean bits really work, and probably until check-periodically-anyway
 >   clean bits go in.

For the record, I think that the "clean bit" actually does work now .. 
it's even enabled in the Alpha sources again.  This was fixed sometime 
before 1.1.  Re. "check anyway", yah, that should happen.  Maybe I'll 
look at it sometime "soon", but others are welcome to try their hand at 
it, too :-)

Would folks rather see a "mount count" or "time since" check?

 > - The "clearing /tmp" code is yanked entirely; this should be done by
 >   cron, not rebooting.  (Doing it on reboot cleans out /tmp both too
 >   often - essentially, it means /tmp is useless to humans because
 >   anything in there may be torched randomly if the machine crashes -
 >   and not often enough, because if the box doesn't die it never gets
 >   cleaned out.)

Well, certainly /tmp should get periodically cleaned out, but /tmp has 
historally been cleaned on reboot.  If you want it to live across boots, 
use /var/tmp.

 > - inetd gets turned off on some boxes.  (Unlike most of the network
 >   stuff, inetd is not controlled by "if [ "X${foo_flags}" != XNO ...]"
 >   construct.)

Hmm ... Yah, there are some inconsistencies there...

 > - All the automated motd editing is yanked.  (What gives anyone the
 >   idea it's appropriate to willy-nilly destroy the first line of the
 >   /etc/motd I presumably put exactly what I wanted in?!)
 > /etc/netstart (which is more or less what started all this) needs a lot
 > of work, too; putting config information in little files in /etc is
 > gross and klunky.  (If you're going to put stuff there, at least make
 > 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" :-)

Jason R. Thorpe                             
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939