[comp.os.vms] Defragmenting source code wanted.

witr@rwwa.COM (Robert Withrow) (04/18/91)

Send mail, I will summarize.

Does anyone have any source code (in C or PASCAL) that will, at least
partially, defragment an ODS 2 filesystem?

The problem I am trying to solve is to create a contiguous file of N
blocks on a file system where I know there are N blocks free, but
where the free blocks may not be contiguous.

For the curious, this is not for VMS but for VAXELN, and I am *not*
creating a contiguous file for performance reasons... I am creating a
file to be booted by VMB (which requires a contiguous file).

Alternatively, does anyone have a secondary bootstrap program that
will boot an arbitrary (possibly non-contiguous) file from an ODS 2
filesystem?

Thanks!

-- 
---
 Robert Withrow, R.W. Withrow Associates, Swampscott MA 01907 USA
 Tel: +1 617 598 4480, Fax: +1 617 598 4430, Net: witr@rwwa.COM