From owner-freebsd-fs Tue Oct 30 20:51:55 2001 Delivered-To: freebsd-fs@freebsd.org Received: from smail-103.hanmail.net (smail-103.hanmail.net [211.233.29.58]) by hub.freebsd.org (Postfix) with ESMTP id 929B337B403 for ; Tue, 30 Oct 2001 20:51:52 -0800 (PST) Received: from www15.hanmail.net (www15.hanmail.net [211.32.117.35]) by smail-103.hanmail.net (8.10.0/8.9.1) with ESMTP id f9V4nNN17112; Wed, 31 Oct 2001 13:49:23 +0900 Received: (from hanadmin@localhost) by www15.hanmail.net (8.10.0/8.9.1) id f9V4lGh27478 for ; Wed, 31 Oct 2001 13:47:16 +0900 (KST) X-Originating-IP: [129.254.122.173] From: "=?EUC-KR?B?wNPA57T2?=" Reply-To: "=?EUC-KR?B?wNPA57T2?=" Organization: =?EUC-KR?B?sOa6z7Trx9Cxsw==?= To: Subject: [Q]root file system mount(initialization) in booting time. X-Mailer: Daum Web Mailer 1.0 Date: Wed, 31 Oct 2001 13:47:16 +0900 (KST) Message-Id: <20011031134716.HM.E0000000002Ye4g@www15.hanmail.net> MIME-Version: 1.0 Content-Type: text/plain; charset=euc-kr Content-Transfer-Encoding: 8bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello. I have some question about filesystem initialization(namely, root filesystem mount) in FreeBSD 4.3. I can see the message that root file system is mounted. Then where is the routine that played this role.?? In VFS, I think 'vfsinit()' routine in 'vfs_init.c' file play that role. Right? (1) SI_SUB_VFS = 0x4000000, /* virtual file system*/ (2) SYSINIT(vfs, SI_SUB_VFS, SI_ORDER_FIRST, vfsinit, NULL); The sysinit_sub_id of VFS is defined in 'enum sysinit_sub_id {}' in 'kernel.h' file like (1). And VFS is ordered to initialize by 'SYSINIT()' macro in 'vfs_init.c' file like (2). If that's the case, How is the root file system(e.g. UFS/FFS) mounted in booting time? Is it like the VFS initialization..?? If so, where ? how? And then, next question is the order between VFS and root file system initialization. Is VFS initialization done before root filesystem mount in booting time? Or vice versa .? Please, answer me in detail if you possible. Thanks in advance. Bye, JaeDeok. =================================================================== ¿ì¸® ÀÎÅͳÝ, Daum http://www.daum.net ¼Û±Ý, 1/nû±¸, ȸºñ°È±â! À̸ÞÀÏ ÇÑÅëÀ¸·Î ÇØ°áÇÑ´Ù ¢Ñ ¸ÞÀϹðÅ· http://mailbank.daum.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message