Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262033AbTEULSn (ORCPT ); Wed, 21 May 2003 07:18:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262042AbTEULSn (ORCPT ); Wed, 21 May 2003 07:18:43 -0400 Received: from 169.imtp.Ilyichevsk.Odessa.UA ([195.66.192.169]:64783 "EHLO Port.imtp.ilyichevsk.odessa.ua") by vger.kernel.org with ESMTP id S262033AbTEULSm (ORCPT ); Wed, 21 May 2003 07:18:42 -0400 Message-Id: <200305211122.h4LBMsu10591@Port.imtp.ilyichevsk.odessa.ua> Content-Type: text/plain; charset=US-ASCII From: Denis Vlasenko Reply-To: vda@port.imtp.ilyichevsk.odessa.ua To: Mark Dascher , linux-kernel@vger.kernel.org Subject: Re: rootfs and /dev/root Date: Wed, 21 May 2003 14:29:10 +0300 X-Mailer: KMail [version 1.3.2] References: <20030521011420.57175.qmail@web40805.mail.yahoo.com> In-Reply-To: <20030521011420.57175.qmail@web40805.mail.yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1048 Lines: 27 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 - 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/