From owner-freebsd-stable Sun Dec 3 16:59:27 2000 From owner-freebsd-stable@FreeBSD.ORG Sun Dec 3 16:59:24 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from earth.backplane.com (placeholder-dcat-1076843399.broadbandoffice.net [64.47.83.135]) by hub.freebsd.org (Postfix) with ESMTP id A0D5037B402; Sun, 3 Dec 2000 16:59:24 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id eB40wP569449; Sun, 3 Dec 2000 16:58:25 -0800 (PST) (envelope-from dillon) Date: Sun, 3 Dec 2000 16:58:25 -0800 (PST) From: Matt Dillon Message-Id: <200012040058.eB40wP569449@earth.backplane.com> To: Cy Schubert - ITSD Open Systems Group Cc: Brandon Fosdick , "David O'Brien" , Gregory Bond , stable@FreeBSD.ORG Subject: Re: device numbers (was Re: Removal of Disklabel) References: <200012040042.eB40gEH63427@cwsys.cwsent.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : :There was some discussion about this two years aog. IIRC the issue of :manually defining devices was yet to be resolved. Discussion about an :interface (API and command line tool?) indicated that this hadn't been :resolved yet. Are we any further to a solution? : :Search the -stable archives for "DEVFS (was Re: More problems with new :slice code )" for the original thread. : :Regards, Phone: (250)387-8437 :Cy Schubert Fax: (250)387-5766 I think the discussion petered off when two groups of people deadlocked on how to handle chmod/chown permissions changes on /dev. That is, how to make such changes persistent. I do not think I weighed in on the issue before. In thinking about it, I believe the best solution is to overlay devfs on top of a real filesystem and synthesize a combined result. The underlying filesystem would hold ownership and modes while devfs would hold dev_t info. When you chowned or chmod'd it would thus be persistent, yet not interfere with devfs's operation. If persistence was not necessary you simply would not bother with the overlay and would instead use devfs without an overlay. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message