adfformat(1)
| ADFFORMAT(1) | General Commands Manual | ADFFORMAT(1) |
NAME
adfformat - create a classic AmigaDOS filesystem (OFS/FFS) on an ADF or HDF volume.
SYNOPSIS
adfformat [-llabel] [-pvolume] [-tfstype] [-fvhV] adf_device
DESCRIPTION
adfformat 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
adfformat -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
NOTES
Detailed info about Commodore Amiga filesystems: http://lclevy.free.fr/adflib/adf_info.html#p41
AUTHOR
adfformat was written by Tomasz Wolak <tomas.wolak@gmail.com>, as part of the ADFlib (https://github.com/adflib/ADFlib).
| Mar 2025 |
