On Mon, Feb 14, 2000 at 10:30:53PM +0100, Luigi Rizzo wrote:
> >     You can't change this behavior.  UFS can only use a file fragment (that
> >     is, typically 1/8 of a full block) at the *END* of a file, not the middle.
> 
> pardon the ignorance (but i don't have the red book handy),
> thas that mean that if you need 1 frag+1 byte you end up using a full
> block  ?

Nope.  You can have a frag that is a multiple of the minimal frag size.
For instance an 11K file uses two 4k full blocks and one 3k frag.

[example taken from McKusick's UNIX Internals class notes]

>From the red Daemon book, pp.272:  The fragment size is specified at the
time that the filesystem is created; each file system block can be
broken down into two, four, or eight fragments [parts]; each of which is
addressable.

Enjoy!
-- 
-- David    ([EMAIL PROTECTED])


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to