[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ext3 root partition with kernel-image packages



On Wed, May 08, 2002 at 06:37:03AM -0400, Michael Stone wrote:
> On Wed, May 08, 2002 at 10:36:32AM +0200, Tomas Pospisek's Mailing Lists wrote:
> > a) linuxrc checks if we're in the "problem situation" and calls the script
> >    in question (or the script checks that itself)
> > b) you extend the presented solution into a generic one. First you check
> >    if the situation meets your criteria (i.e. fs in kernel, but extended
> >    fs on disk, extended fs driver available as module) and then you
> >    proceed with the pivot root solution and mounting with the driver in
> >    question.
> > 
> > Does that make sense?
> 
> Not really. The initrd process is already obscure enough without special
> casing it all over the place. I'm not entirely sure what the right
> solution is, but more magic at build time isn't it.

A script built by an /etc/mkinitrd/scripts/ script can easily do the
magic and the pivot_root.

It could do the magic by generating an /etc/filesystems in the initrd...
Hmm I wonder if that would work.

--
Paul


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: