From owner-freebsd-hackers Sun Jan 12 09:53:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA07503 for hackers-outgoing; Sun, 12 Jan 1997 09:53:49 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id JAA07479 for ; Sun, 12 Jan 1997 09:53:04 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id SAA21046 for hackers@freebsd.org; Sun, 12 Jan 1997 18:52:50 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id SAA00382; Sun, 12 Jan 1997 18:11:20 +0100 (MET) Message-ID: Date: Sun, 12 Jan 1997 18:11:20 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@freebsd.org Subject: Re: DEVFS permissions &c. References: <16902.853042470@time.cdrom.com> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from David Nugent on Jan 12, 1997 00:38:53 +0000 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As David Nugent wrote: > KISS works better. Any /etc/rc.shutdown has /etc/sysconfig as a > resource and should use it if relevent. I don't mind. > And please - PLEASE - no "runlevels"! Yeah. Actually, we do already have runlevels: S, 0, [234] (depending on the actual SysV vendor), and 6. :-) But i agree that extending this to more runlevels is useless. I have yet to see a single SysV implementation that groks all runlevel transitions without silly actions like starting up subsystems if you lower the runlevel etc. (Shutdown grace period) > Make it configurable (sysctl var?), but 10 seconds would seem like a I think the user or machdep facilities of sysctl might come handy here. Opinions? > reasonable default on most systems. I've found that if a news server, > for example, is particularly busy, it can take up to a minute for > ctlinnd shutdown to complete. A shutdown 'fastboot' option to bypass > the shutdown script might also be useful. There's always `reboot -q'. > Of course, the 10 seconds wait is a moot point if the script returns > earlier... Yes, if the shutdown script exited, init can proceed. > Naturally, this brings ports in, with /usr/local/etc/rc.d scripts > again, but you knew that. :-) Yep. The scripts there do already get an argument "start" passed from /etc/rc. > Perhaps the *existance* of an /etc/rc.shutdown will be enough to > trigger it. Yep. Failure to find the script could be syslogged. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)