From owner-freebsd-fs Mon Apr 23 11:22:59 2001 Delivered-To: freebsd-fs@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id CD0AD37B423 for ; Mon, 23 Apr 2001 11:22:56 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from opal (cs.binghamton.edu [128.226.123.101]) by bingnet2.cc.binghamton.edu (8.11.2/8.11.2) with ESMTP id f3NIMqo14514; Mon, 23 Apr 2001 14:22:52 -0400 (EDT) Date: Mon, 23 Apr 2001 14:22:52 -0400 (EDT) From: Zhihui Zhang X-Sender: zzhang@opal To: Igor Shmukler Cc: freebsd-fs@FreeBSD.ORG Subject: Re: fs structure In-Reply-To: <00b701c0cc20$45e61420$7b02a8c0@tp600e> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org As long as the root inode is at a WELL-KNOWN disk address, you can find it during mount time. It can be stored in a superblock field, which is in turn stored at a well-known disk address. But you do not have to. If you can locate the inode map, you can find the root inode. -Zhihui On Mon, 23 Apr 2001, Igor Shmukler wrote: > I have a question about ffs structure. Superblock is located at 0x2000 physical on disk. Where in superblock is pointer to first inode (inode #2)? > Is it fs_iblkno? > Thanks. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message