|
|
Nicolas Alvarez nous apporta ses lumieres en ce 2007/11/13 12:41:
> Darren New escribió:
>> Unlike UNIX, it's not just a matter of seeking around. You have to
>> open the file as a sparse file, then you have to say "hey, this area
>> is sparse" rather than (say) just writing all zeros to the blocks or
>> something.
>
> Not really... Cross-platform programs that don't use any
> Windows-specific API manage to create sparse files here. That's why
> download managers that download in chunks give the option to
> pre-allocate: sparse files that are filled randomly get fragmented quite
> badly.
And can have TONS of slack space! Just imagine a file whose records are about 64
bytes each, and only having less than 0.01% of them actualy used... with
clusters of 4Kb. You are stuck with many clusters containing only 1 record, at
some random location in the cluster.
--
Alain
-------------------------------------------------
Moonies: Only really happy shit happens.
Post a reply to this message
|
|