From owner-freebsd-fs Fri Apr 27 11: 6:20 2001 Delivered-To: freebsd-fs@freebsd.org Received: from smtp05.primenet.com (smtp05.primenet.com [206.165.6.135]) by hub.freebsd.org (Postfix) with ESMTP id B1E3F37B423; Fri, 27 Apr 2001 11:06:17 -0700 (PDT) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp05.primenet.com (8.9.3/8.9.3) id LAA21990; Fri, 27 Apr 2001 11:06:15 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp05.primenet.com, id smtpdAAAGwaq7Q; Fri Apr 27 11:06:07 2001 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id LAA02198; Fri, 27 Apr 2001 11:07:23 -0700 (MST) From: Terry Lambert Message-Id: <200104271807.LAA02198@usr07.primenet.com> Subject: Re: more on FFS To: shmukler@mail.ru (Igor Shmukler) Date: Fri, 27 Apr 2001 18:07:23 +0000 (GMT) Cc: iedowse@maths.tcd.ie (Ian Dowse), freebsd-fs@FreeBSD.ORG, grog@FreeBSD.ORG In-Reply-To: <006501c0cf3a$597d2380$7b02a8c0@tp600e> from "Igor Shmukler" at Apr 27, 2001 12:51:45 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I ran this thing on a 1.44M floppy and came out to offset 0x7000 dip > 0x804e100. > Does not seem right to me. Is filesystem fragment size 512? You are looking at the inode. The data in the directory is hung of the direct blocks off the inode, and is not soterd in the inode itself. This is unlike VFAT, where the directory entry _is_ the "inode" (this is also why VFAT can not support hard links, but FFS can). For the directory data itself, when you get there... Directories are stored in 512b blocks, directly, so that all operations on them are atomic. Directories are _not_ stored as normal files, in terms of the FS block size. They are, however, aggregated into larger fragments, and eventually into blocks, if they become large enough to do that. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message