Path: utzoo!attcan!uunet!ginosko!aplcen!haven!adm!xadmx!chris@mimsy.umd.edu From: chris@mimsy.umd.edu (Chris Torek) Newsgroups: comp.unix.wizards Subject: Re: BSD filesystem defragmentation question Message-ID: <20645@adm.BRL.MIL> Date: 17 Aug 89 21:38:48 GMT Sender: news@adm.BRL.MIL Lines: 17 In article <8908162031.AA09888@dsys.ncsl.nist.gov> (probably changed IDs at brl, though; alas)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