[Nottingham] File copying filesystem -> filesystem

Sergiusz Pawlowicz sergiusz at pawlowicz.name
Tue Sep 8 13:55:16 UTC 2009


On Tue, Sep 8, 2009 at 14:45, Martin<martin at ml1.co.uk> wrote:
> Martin wrote:
>> Folks,
>>
>> There's many ways to copy files around, but which is the 'best'?
>
> Well, so far my thoughts are that you should copy across the largest
> files first in an attempt to minimise fragmentation. Copying the smaller
> files last lets them fill in any gaps on the disk hopefully without
> themselves getting fragmented.
>
> Yet, files within a directory should be kept localised on the disk in
> the anticipation that you would wish to stay working within a directory...
>
> Sooo, how about this strategy?...
>
> Firstly create the entire directory hierarchy breadth-first. Then fill
> the directories ordered by largest total filesize for each directory.
> For a directory, transfer the files across ordered by largest file first.
>
>
> (And no I haven't time to try this multiple times to make a scientific
> study out of different strategies!)
>
>
> Yes, good, bad, indifferent?

...and later hide a laptop in a fridge to preserve this order forever.

S.



More information about the Nottingham mailing list