Boot poster challenge

Arjan van de Ven arjanv at redhat.com
Sun Nov 21 16:51:49 UTC 2004


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. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20041121/1db1b408/attachment.sig>


More information about the fedora-devel-list mailing list