Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2000 16:19:22 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Marius Bendiksen <mbendiks@eunet.no>, arch@FreeBSD.ORG
Subject:   Re: Ideas concerning fsck 
Message-ID:  <19690.972397162@critter>
In-Reply-To: Your message of "24 Oct 2000 16:08:15 %2B0200." <xzpu2a2s568.fsf@flood.ping.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help

>I'm not familiar with the concept of bootfs - can somebody enlighten
>me?

The idea is to use a small RAM fs to get airborne after boot.

AIX boots with what is in essence a fixit filesystem on a ramdisk,
once it has located the real root filesystem and fsck'ed etc etc
it has a magic syscall which means "throw away the rootfilesystem,
mount this filesystem as root, (re)exec /sbin/init"

The idea I have been toying with is to mount DEVFS as / and mount
the "real" root on top of it with a unionmount. 

Amongst the things this would allow is a kind of "persistence" for
/dev (should anybody still want that) and various trickery like
mirror/raid initializations could be performed from userland 
before mounting the "real" root.

--
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-arch" in the body of the message




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