lkml.org 
[lkml]   [2003]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: initrd help -- umounts root after pivot_root
From
Date
On Fri, 2003-10-31 at 16:59, H. Peter Anvin wrote:
> From: H. Peter Anvin <hpa@zytor.com>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 8bit
> X-Comment-To: Bob Chiodini <robert.chiodini-1@ksc.nasa.gov>
> Disclaimer: Not speaking for Transmeta in any way, shape, or form.
> Copyright: Copyright 2003 H. Peter Anvin - All Rights Reserved
>
> Followup to: <1067604362.5526.15.camel@tweedy.ksc.nasa.gov>
> By author: Bob Chiodini <robert.chiodini-1@ksc.nasa.gov>
> In newsgroup: linux.dev.kernel
> >
> > John,
> >
> > It does not appear that the kernel(s) will support the root fs on
> > tmpfs. Looking through the init kernel code: It boils down to a block
> > device with real major and minor number or NFS.
> >
>
> Baloney. See the SuperRescue CD, for example, for a distro which uses
> exactly this.
>
> -hpa

I stand corrected. I should have been clearer making this statement. I
did not see a mechanism for mounting a tmpfs in do_mounts.c, or main.c.
One question: I see that superrescue execs init and the end of
linuxrc. Does this cause the kernel initialization to yield in
handle_initrd(), until init exits (reboot/shutdown)?

Bob...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.069 / U:1.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site