Skip site navigation (1)Skip section navigation (2)
Date:      29 Oct 2001 14:19:52 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Mike Silbersack <silby@silby.com>, current@FreeBSD.ORG
Subject:   Re: devfs question
Message-ID:  <xzpu1wir3bb.fsf@flood.ping.uio.no>
In-Reply-To: <10460.1004168165@critter.freebsd.dk>
References:  <10460.1004168165@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp <phk@critter.freebsd.dk> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpu1wir3bb.fsf>