2.4 kernel style boot using pivot_root (RFC)
Artur Frysiak
wiget at pld.org.pl
Fri Mar 8 13:25:50 CET 2002
On Fri, Mar 08, 2002 at 12:43:37PM +0100, Michal Moskal wrote:
> On Fri, Mar 08, 2002 at 12:33:48PM +0100, Jakub Bogusz wrote:
> > On Fri, Mar 08, 2002 at 12:15:53PM +0100, Michal Moskal wrote:
> > > 6) directory to put old root in, could be created automagicly by bsp,
> > > we would have to mount root read-write, create the directory,
> > > and in stage 2 remove it and mount root read-only. But I guess this
> > > isn't very bright idea (to mess with writing root before fsck
> > > has a chance to run).
> >
> > Somebody wrote at news:pl.comp.os.linux that in some distribution
> > (RedHat or Mandrake) there is persistent empty /initrd directory,
> > and when he removed it, system boot failed. Guess why :)
> >
> > This may be an answer - but I think it's at least a little nasty...
>
> Having "unused" directory in / is like asking for truble.
> But if it's in /var/lib/bsp/initrd, then nobody will remove it.
> And if he will... well he's out of luck :)
echo "Don't remove this dir. Its used by bootup proces" >/initrd/README
/initrd is sugested by Werner Almesberger <werner.almesberger at epfl.ch> and
Hans Lermen <lermen at fgan.de> in linux/Documentation/initrd.txt
--
Artur Frysiak
http://www.pld.org.pl/
More information about the pld-devel-en
mailing list