[klibc] [PATCH 6/8] switch_root: Fix single file mounts

Michal Suchanek michal.suchanek at ruk.cuni.cz
Thu Jul 28 00:07:18 PDT 2011


Excerpts from maximilian attems's message of Wed Jul 27 21:42:32 +0200 2011:
> On Mon, 18 Jul 2011, Michal Suchanek wrote:
> 
> > Hello,
> > 
> > Excerpts from maximilian attems's message of Wed Jul 13 15:48:31 +0200 2011:
> > > From: Michal Suchanek <michal.suchanek at ruk.cuni.cz>
> > > 
> > > The root of the failure is that nuke cannot cope with file
> > > mounts (single files mounted, not directories). These are the result of
> > > using fuse to get to the root filesystem (httpfs, curlftpfs).
> > > 
> > > This fixes
> > > http://bugs.debian.org/476268
> > 
> > thanks for looking into this.
> > 
> > Since this is a long-standing issue I wrapped the file mount in a tmpfs
> > mount as a workaround.
> > 
> > I hope this makes life easier for people trying to use klibc in the
> > future.
> 
> after the post I'm less convinced of this patchset.
> What is the meaning of such a left mounted tmpfs in initramfs?
Nothing.

It just makes sure that nuke_initramfs does not fail.

Without the tmpfs the initramfs does not adhere to some layout
that is undocumented and boot fails.

No usable error is produced on the boot failure either.

Thanks

Michal



More information about the klibc mailing list