[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Defragging a directory?



Edhel Iaur <drsmooth@relex.com> wrote:

> Is there a way to defrag a ProDOS subdirectory file on a 3.5" disk?

Yes - use a defragmentation utility.  This will defragment the whole
disk.  I doubt there are any utilities that defrag a single
subdirectory.

Assuming you are referring to the blocks occupied by the directory
itself, it is not possible (given a clean disk under ProDOS-8) to create
a multi-block subdirectory which is not fragmented, short of a rather
convoluted series of create and delete operations.

Under GS/OS, it may be possible to reserve multiple blocks for a
subdirectory through appropriate use of the Create call, but I've never
tried.

-- 
David Empson
dempson@actrix.gen.nz
Snail Mail: P.O. Box 27-103, Wellington, New Zealand