From owner-freebsd-current Sat Oct 27 0:36:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id D260B37B409 for ; Sat, 27 Oct 2001 00:36:39 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.6/8.11.6) with ESMTP id f9R7a5S10462; Sat, 27 Oct 2001 09:36:05 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Mike Silbersack Cc: current@FreeBSD.ORG Subject: Re: devfs question In-Reply-To: Your message of "Fri, 26 Oct 2001 22:26:59 CDT." <20011026222548.L88389-100000@achilles.silby.com> Date: Sat, 27 Oct 2001 09:36:05 +0200 Message-ID: <10460.1004168165@critter.freebsd.dk> From: Poul-Henning Kamp 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 In message <20011026222548.L88389-100000@achilles.silby.com>, Mike Silbersack w rites: > >On Fri, 26 Oct 2001, Mike Silbersack wrote: > >> So, my question is this: Does /dev really need to exist in a devfs world? >> I assumed not, since procfs doesn't have a pre-existing /proc, but I don't >> know where to look to find out what the correct answer is in this case. >> >> Mike "Silby" Silbersack > >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. About the only thing one could do is make init exit(bla) and get a diagnostic from the kernel. It may make sense to do that. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message