From owner-freebsd-hackers Sun Jan 12 09:52:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA07447 for hackers-outgoing; Sun, 12 Jan 1997 09:52:32 -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 JAA07397 for ; Sun, 12 Jan 1997 09:50:41 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id SAA20806 for hackers@FreeBSD.ORG; Sun, 12 Jan 1997 18:50:31 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id SAA00358; Sun, 12 Jan 1997 18:04:00 +0100 (MET) Message-ID: Date: Sun, 12 Jan 1997 18:03:59 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@FreeBSD.ORG Subject: Re: DEVFS permissions &c. References: <199701121444.BAA14336@godzilla.zeta.org.au> 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: <199701121444.BAA14336@godzilla.zeta.org.au>; from Bruce Evans on Jan 13, 1997 01:44:33 +1100 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Bruce Evans wrote: > >> I've exchanged a couple of thoughts with Bruce about it. Maybe we > >> could teach mtree(8) to help in this step. > > > >Yes, that would certainly be the way to do it. > > Not really. Things it doesn't do right include: > - wildcards. The equivalent of `chmod 666 /dev/tty[pqrs][PQRS]*' is a > huge list. Very simple. Perform your above chmod, and reboot the system. :) I don't suppose the devfs.init mtree description should primarily be maintained manually. > - futures. When a new disk with lots of slices and partitions on it > is detected, how is its mode and group changed so that a member of > group operator can access it? /usr/sbin/sysinstall -diskSetup can do this on behalf of the admin, or if he prefers to run all the disklabel, newfs, and chmods himself, he is free to do so. For the rest, see previous paragraph. ;-) > I expect a tree of devices would be overkill too. You would need evil > symlinks to reduce /dev/disks/raw/scsi/bus0/id0/lun0/slice2/partitionh > to something like /dev/rsd0h :-). This somehow reminds me of SIEMENS/Nixdorf's SINIX system. :) Though i think some ``commonly known'' alias names would come very handy, like /dev/[r]root, /dev/rtape etc. -- 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. ;-)