AminetAminet
Search:
84510 packages online
About
Recent
Browse
Search
Upload
Setup
Services

disk/misc/PurgeDELDIR.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Purge PFS .DELDIR of useful file references
Author:Giles Burdett (layabouts at the-giant-sofa.demon.co.uk)
Uploader:Giles Burdett (layabouts the-giant-sofa demon co uk)
Version:1.0
Architecture:m68k-amigaos
Date:2000-02-22
Download:http://aminet.net/disk/misc/PurgeDELDIR.lha - View contents
Readme:http://aminet.net/disk/misc/PurgeDELDIR.readme
Downloads:534

    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 at 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! :)


Contents of disk/misc/PurgeDELDIR.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 7005   13672  51.2% -lh5- 3422 Feb 20  2000 PurgeDELDIR/PurgeDELDIR
[generic]                 1269    3264  38.9% -lh5- b193 Feb 20  2000 PurgeDELDIR/PurgeDELDIR.c
[generic]                  441     790  55.8% -lh5- ec43 Feb 19  2000 PurgeDELDIR/PurgeDELDIR.c.info
[generic]                  607     996  60.9% -lh5- a2b5 Feb 20  2000 PurgeDELDIR/PurgeDELDIR.o
[generic]                  926    1974  46.9% -lh5- 26b4 Feb 20  2000 PurgeDELDIR/PurgeDELDIR.readme
[generic]                  425    1018  41.7% -lh5- c382 Feb 20  2000 PurgeDELDIR/PurgeDELDIR.¶
[generic]                  294     534  55.1% -lh5- 62cb Feb 20  2000 PurgeDELDIR/PurgeDELDIR.¶.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         7 files   10967   22248  49.3%            Feb 22  2000

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>