PurgeDELDIR - Purge the .DELDIR of a PFS formatted
partition of all its entries.
Defaults to deleting 32 entries (the standard for
PFS v2) but a different value can be specified on
the command line, which is useful to users of PFS v3.
PurgeDELDIR has been designed and programmed
by Giles Burdett in 2000.
- layabouts@the-giant-sofa.demon.co.uk
PFS is the Professional File System by
GREat Effects Development.
- www.greed.nl
Usage:
Copy the command to C:
Usage: PurgeDELDIR DEVICE/A, SLOTS/N
Example:
PurgeDELDIR Work:
will remove the 32 entries from the .DELDIR on Work:
PurgeDELDIR Work: 99
will override the in-built default and remove
99 entries from the .DELDIR on Work:
(Use this for PFS v3)
Notes:
Source code included. Compiled with StormC v2 demo.
Take a look at the source if you want to recompile it
with a new default value. Look for the totally
unsubtle hint...!
Thanks:
Thanks go to everyone on the Amiga C mailing list for
helping me squish the bugs!
http://www.onelist.com/subscribe/amiga-c
Known bug:
The entries in the .DELDIR that PurgeDELDIR creates
sometimes have a couple of strange symbols prepended
to the file name. As far as I can tell this is completely
harmless, but I would still like to find this bug and
kill it as a matter of principle!
Disclaimer:
Use this program at your own risk! Loss of data, loss of
hardware, loss of hair, loss of pretty much ANYTHING is
your problem, and I won't be held responsible! :)
|