On Sun, 2004-11-21 at 11:28 -0500, Daniel Veillard wrote: > Let's see ... Suppose we isolate all the resources we need to load quickly, > we have a list of files, hopefully all from the same / partition, we have that ;-) > while in > single user mode and without concurrent activity: > > for foo in $list: > cp $foo $foo.new > for foo in $list: > rm $foo > for foo in $list: > mv $foo.new $foo > > We could expect filesystems to allocate the new blocks (data and possibly > metadata) more or less sequentially on disk. What would led the filesystem > code to not be sequential (most of the time assuming a single block device > underneath) nope this doesn't work; while each file individually will be sequential, they are not sequential on disk. Note: teh files already aren't fragmented, at least on my testsystem.
Attachment:
signature.asc
Description: This is a digitally signed message part