The ADFlib Page

a free, portable and open implementation of the Amiga filesystem
ADFlib Home
The Library
   Download ADFlib
   Browse API docs
The ADF format
Contact me
Related links


The ADFlib is a portable C library designed to manage Amiga formatted devices like harddisks and ZIP disks, or dump files of this kind of media via the .ADF format.

The API permit you to :

  • mount/unmount/create a device (real one or a dump file),
  • mount/unmount/create a volume (partition),
  • create/open/close/delete/rename/undel a file,
  • read/write bytes from/to a file,
  • create/delete/rename/move/undel a directory,
  • get directory contents, change current directory, get parent directory
  • use dir cache to get directory contents.

A callbacks system make easy to write the real device driver for any platform. The ADFOpus (here) application (a useful Windows Explorer like for ADF files and devices), initially written by Dan Sutherland, now maintained by Gary Harris, is able to access from Win95/98/NT an 2.5 inches harddisk formatted under AmigaDos. Dan wrote the specific driver for ADFlib, and gave me a lot of feedback which helped to design the library.

The same redirection system is used to display error/warning/verboses messages and support notification on the target platform.