From owner-freebsd-hackers Sun Jan 12 02:25:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id CAA19554 for hackers-outgoing; Sun, 12 Jan 1997 02:25:12 -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 CAA19546 for ; Sun, 12 Jan 1997 02:25:06 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id LAA13162 for hackers@freebsd.org; Sun, 12 Jan 1997 11:25:04 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id LAA02158; Sun, 12 Jan 1997 11:20:12 +0100 (MET) Message-ID: Date: Sun, 12 Jan 1997 11:20:12 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@freebsd.org Subject: 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: <16902.853042470@time.cdrom.com>; from Jordan K. Hubbard on Jan 11, 1997 20:14:30 -0800 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Jordan K. Hubbard wrote: > > I think DEVFS should create all devices 0600 root:wheel. It's bogus > > for the kernel to hard-code user or group names. Everything else > > should be handled at rc(8) time, which is also where the beloved > > persistency will come into the game. > > Hmmm. Actually, ignore what I said earlier about group games - I > agree with Joerg. :-) Although i should add that this is currently _not_ the case! I.e., nobody wrote that ``permissions & persistancy'' module for rc(8) yet. I've exchanged a couple of thoughts with Bruce about it. Maybe we could teach mtree(8) to help in this step. Btw., a system shutdown script would come handy for this. What are the current ideas of a SysV init? :-) Well, at least we could teach our init to run something like /etc/rc.shutdown or such, which can do all the dirty work. Init should probably impose a timeout for this script (in case it hangs), how to configure this? A sysctl variable? For normal machines (i.e., not news servers or other machines that require mucho work at shutdown time), a grace period of 10 seconds should suffice. Why i'm bringing this into the game here? It would be the ideal spot to dump out the state of DEVFS into a file. -- 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. ;-)