From owner-freebsd-current Fri Feb 9 12:25:39 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA07390 for current-outgoing; Fri, 9 Feb 1996 12:25:39 -0800 (PST) Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA07381 for ; Fri, 9 Feb 1996 12:25:37 -0800 (PST) Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.12) id MAA00293; Fri, 9 Feb 1996 12:25:15 -0800 From: Julian Elischer Message-Id: <199602092025.MAA00293@ref.tfs.com> Subject: Re: FS PATCHES: THE NEXT GENERATION To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Fri, 9 Feb 1996 12:25:15 -0800 (PST) Cc: phk@critter.tfs.com, terry@lambert.org, current@freebsd.org In-Reply-To: <20406.823877228@time.cdrom.com> from "Jordan K. Hubbard" at Feb 9, 96 06:47:08 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-current@freebsd.org Precedence: bulk > > > I want to be able to define a policy for permissions in /dev, and no > > form is more unix-like and suitable than > > > > chmod 644 tty* > > chown root.dev disk/* > > Actually, when we stood around discussing this, we agreed that the > "journaling" mechanism would have to deal with the addition of > wildcard rules like this. I understand the need to define permissions > for entire classes of devices, not just single ones. > > It's also not a question of smart or not smart, it's a question of > upholding the Principle of Least Astonishment and also not opening the > can of worms any farther than it has to be opened. By preserving the > old semantics, all your various shell scripts and system admin hacks > survive and you don't have the "multiple incarnation of /dev (say for > chroots) initialization problem" to worry about, either. I think that the principal of least astonishment has to be balanced against the problem of staying in the dark ages. I think that mount_devfs should be able to look somewhere for a configuration script regarding the filesystem it's making. however there is NO ANSWER anywhere, for what to do about a new device that just pops up... > > Jordan >