From owner-freebsd-current Mon Oct 29 5:19:57 2001 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 9E29937B401 for ; Mon, 29 Oct 2001 05:19:55 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id D77EF14C2E; Mon, 29 Oct 2001 14:19:52 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Poul-Henning Kamp Cc: Mike Silbersack , current@FreeBSD.ORG Subject: Re: devfs question References: <10460.1004168165@critter.freebsd.dk> From: Dag-Erling Smorgrav Date: 29 Oct 2001 14:19:52 +0100 In-Reply-To: <10460.1004168165@critter.freebsd.dk> Message-ID: Lines: 16 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Poul-Henning Kamp writes: > In message <20011026222548.L88389-100000@achilles.silby.com>, Mike Silbersack writes: > > Oops, error on my part; /proc does need to exist. So, I guess the > > question is this: Can devfs's error handling in the case of /dev being > > non-existant be improved? > Barely, because without /dev, how do you plan to open the console ? > > Mkdir(/dev) isn't an option because the rootfs is mounted R/O. You could modify devfs so it can be union-mounted on top of /; or you could hack namei to return a fake vnode for /dev so it's always present. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message