Date: Thu, 21 Mar 1996 05:31:11 -0800 From: David Greenman <davidg@Root.COM> To: Poul-Henning Kamp <phk@critter.tfs.com> Cc: Terry Lambert <terry@lambert.org>, julian@ref.tfs.com (JULIAN Elischer), scrappy@ki.net, current@freebsd.org Subject: Re: DEVFS vs "regular /dev" Message-ID: <199603211331.FAA05288@Root.COM> In-Reply-To: Your message of "Thu, 21 Mar 1996 13:21:42 GMT." <625.827414502@critter.tfs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>> >> >So you don't need a mounted root to have a mounted /dev, of course! >> >> >> >> That's silly. The root filesystem is mounted long before /dev would be, > >> > >> >Not that long before. /sbin/init will have to mount it to get in touch >> >with /dev/console, /dev/null and ... I just re-read what you said...I think you might have read what I wrote backwards - the root filesystem is mounted automagically in the kernel very early in system startup. /dev, whether it's done in the kernel or in /sbin/init, would be done quite a bit later in relative terms. >> No, it will be mounted in the kernel. > >ok, that is not really needed... If we do the mount in /sbin/init and it fails for some reason (like the mount point doesn't exist), then we'll have no way to inform the operator (there isn't a /dev/console to write to). If we do it in the kernel, we can emit a message saying "/dev: not found" or something. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603211331.FAA05288>