BSD filesystem defragmentation question
Chris Torek
chris at mimsy.umd.edu
Fri Aug 18 07:38:48 AEST 1989
In article <8908162031.AA09888 at dsys.ncsl.nist.gov> (probably changed
IDs at brl, though; alas) <rbj at dsys.ncsl.nist.gov> writes:
>OK, trick question for wizards! How many fragments does a file of
>size ((1 << 20) + 1) have? Answer: zero! Only direct blocks are
>fragmented! Top of page 208 in the 4.3 book.
Right.
>Chris, was this true in 4.2 as well?
Unless it was a bug fix or performance hack---and there were only a few
of those---most anything in the file system code itself that is in 4.3BSD
is also in 4.2BSD. Kirk did a good job on that code. (Some of the
other sections of the 4.2BSD were a bit skunky :-) [but maybe they were
not Kirk's code...])
Chris
More information about the Comp.unix.wizards
mailing list