* rootfs and /dev/root
@ 2003-05-21 1:14 Mark Dascher
2003-05-21 11:29 ` Denis Vlasenko
0 siblings, 1 reply; 2+ messages in thread
From: Mark Dascher @ 2003-05-21 1:14 UTC (permalink / raw)
To: linux-kernel
I'm curious about the two entries in /proc/mounts:
rootfs and /dev/root. Although I don't have much
experience with this, I've looked through some of the
kernel source code (e.g. fs/namespace.c or
init/do_mounts.c). All I can come up with (actually,
this is pretty much what I thought before I looked at
any code) is that rootfs is purely a kernel-generated
filesystem. The kernel creates the /dev/root device
there, and then mounts /dev/root at / (replacing
rootfs).
There were some mentions of 'initrd' too, so I'm not
sure if I'm confusing rootfs with an initrd. Could
anyone clear this up for me?
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: rootfs and /dev/root
2003-05-21 1:14 rootfs and /dev/root Mark Dascher
@ 2003-05-21 11:29 ` Denis Vlasenko
0 siblings, 0 replies; 2+ messages in thread
From: Denis Vlasenko @ 2003-05-21 11:29 UTC (permalink / raw)
To: Mark Dascher, linux-kernel
On 21 May 2003 04:14, Mark Dascher wrote:
> I'm curious about the two entries in /proc/mounts:
> rootfs and /dev/root. Although I don't have much
> experience with this, I've looked through some of the
> kernel source code (e.g. fs/namespace.c or
> init/do_mounts.c). All I can come up with (actually,
> this is pretty much what I thought before I looked at
> any code) is that rootfs is purely a kernel-generated
> filesystem. The kernel creates the /dev/root device
> there, and then mounts /dev/root at / (replacing
> rootfs).
Yes that's what happens. Guys are planning to be able to
*really* umount real (disk-based) root fs someday
and continue halt/reboot sequence using files (scripts etc)
on this virtual rootfs.
So there will be both 'early userspace' and 'late userspace' ;)
IMHO.
--
vda
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-21 11:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-21 1:14 rootfs and /dev/root Mark Dascher
2003-05-21 11:29 ` Denis Vlasenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®