adfsalvage(1)

ADFSALVAGE(1) General Commands Manual ADFSALVAGE(1)

NAME

adfsalvage - show or recover (in the future - extract) deleted files from an ADF device.

SYNOPSIS

adfsalvage [-h] [-v] [-V] [-p]vol <adf_device> [sector...]

DESCRIPTION

adfsalvage is a filesystem utility allowing to display or to recover (possibly, in the future, also to extract) deleted files from an OFS/FFS volume of an ADF device.

When called with just the name of an ADF device, it shows the list of deleted files, along with the position (as sector/block number) of their file header blocks. The undelete can be performed by adding the list of positions of the file header blocks of the deleted files to the command.

WARNING

PLEASE NOTE THAT THIS IS AN EXPERIMENTAL UTILITY, USE IT ON A COPY, NOT ON THE ORIGINAL FILE/DEVICE! (ESPECIALLY IF THE FILESYSTEM USES DIRCACHE!).

OPTIONS

A summary of the options.

-h
Show help.
-v
Be more verbose.
-V
Show version.
-p vol
Specify volume/partition number (counting from 0), default: 0

EXAMPLES

adfsalvage mydisk.adf

Shows list of deleted entries (files, directories) on the volume 0 of mydisk.adf

adfsalvage -p 1 mydisk.adf 884 1000

Undeletes the files which file header blocks are at the specified sectors (884 and 1000) of the second volume/partition (the first is 0). The sector numbers should be taken from the list of deleted entries (by running this utility without providing any sector numbers).

SEE ALSO

adfinfo(1),unadf(1),adflib(3)

NOTES

Detailed info about Commodore Amiga filesystems: http://lclevy.free.fr/adflib/adf_info.html

AUTHOR

adfsalvage was written by Tomasz Wolak <tomas.wolak@gmail.com>, as a part of the ADFlib (https://github.com/adflib/ADFlib).

Mar 2025