Date: Sat, 27 Oct 2001 09:36:05 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Mike Silbersack <silby@silby.com> Cc: current@FreeBSD.ORG Subject: Re: devfs question Message-ID: <10460.1004168165@critter.freebsd.dk> In-Reply-To: Your message of "Fri, 26 Oct 2001 22:26:59 CDT." <20011026222548.L88389-100000@achilles.silby.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10460.1004168165>