ADF_FORMAT(1)

NAME
adf_format - create a classic AmigaDOS filesystem (OFS/FFS) on an ADF or HDF volume.

SYNOPSIS
adf_format [-llabel] [-pvolume] [-tfstype] [-fvhV] adf_device

DESCRIPTION
adf_format is a simple utility allowing to create a classic AmigaDos-type filesystem (OFS or FFS) on the selected volume of an ADF (Amiga Disk File) or HDF (hard disk file) device.

OPTIONS

-f  Force formatting, even if the volume already contains a filesystem. WARNING: potential data loss - be sure what you are doing!

-l  Specify the volume's name (label), default: an empty string.

-p  Specify the index of the volume/partition, default: 0. (Currently cannot use other than 0, partitioned, multi-volume devices are not supported (yet...).

-t  Set AmigaDOS filesystem type, default: 1 (FFS). The type of the filesystem image can be chosen by specifying the fstype parameter, which can be 0-7 (flags = 3 least significant bits):
             Bit Set Clear
             ------------------------------
             0 FFS OFS
             1 INTL ONLY NO_INTL ONLY
             2 DIRC&INTL NO_DIRC&INTL (For details about the filesystem types, check the documentation, link in the NOTES below).

-v  More verbose output.

-h  Shows help info.

-V  Shows version.

EXAMPLES
adf_format -l MyDisk1 -t 3 myamigadisk1.adf
    - creates:
      - filesystem: FFS+INTL (1+2)
      - with the label: MyDisk1
      - on the volume: 0
      - of the adf device: myamigadisk1.adf

LIMITATIONS
Currently it can only format volumes of unpartitioned devices, so those containing a single volume using the whole device (so ADF/floppy disks and HDF/hard disk files).

SEE ALSO
adf_floppy_create(1),adf_show_metadata(1),unadf(1)

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

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