Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2001 18:07:23 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        shmukler@mail.ru (Igor Shmukler)
Cc:        iedowse@maths.tcd.ie (Ian Dowse), freebsd-fs@FreeBSD.ORG, grog@FreeBSD.ORG
Subject:   Re: more on FFS
Message-ID:  <200104271807.LAA02198@usr07.primenet.com>
In-Reply-To: <006501c0cf3a$597d2380$7b02a8c0@tp600e> from "Igor Shmukler" at Apr 27, 2001 12:51:45 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104271807.LAA02198>