Date: Sat, 27 Oct 2001 11:32:07 +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: <12047.1004175127@critter.freebsd.dk> In-Reply-To: Your message of "Sat, 27 Oct 2001 04:27:29 CDT." <20011027042527.T88536-100000@achilles.silby.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20011027042527.T88536-100000@achilles.silby.com>, Mike Silbersack w rites: > >On Sat, 27 Oct 2001, Poul-Henning Kamp wrote: > >> >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. > >An error message would be sufficient; my concern was that someone >might run into this and spend hours trying to figure out which of X >variables was the problem. Right, but the only way to get an error message is to let /sbin/init die and have the kernel print the message. /sbin/init cannot print the message when there is no "/dev/console" can it ? -- 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?12047.1004175127>