Definitions
ioctl description
------------------------------------- ---------------------------------------
DKIOCEJECT eject media
DKIOCSYNCHRONIZE flush media
DKIOCFORMAT format media
DKIOCGETFORMATCAPACITIES get media's formattable capacities
DKIOCGETBLOCKSIZE get media's block size
DKIOCGETBLOCKCOUNT get media's block count
DKIOCGETFIRMWAREPATH get media's firmware path
DKIOCISFORMATTED is media formatted?
DKIOCISWRITABLE is media writable?
DKIOCREQUESTIDLE idle media
DKIOCUNMAP delete unused data
DKIOCGETLOCATION get device's physical location
DKIOCGETMAXBLOCKCOUNTREAD get maximum block count for reads
DKIOCGETMAXBLOCKCOUNTWRITE get maximum block count for writes
DKIOCGETMAXBYTECOUNTREAD get maximum byte count for reads
DKIOCGETMAXBYTECOUNTWRITE get maximum byte count for writes
DKIOCGETMAXSEGMENTCOUNTREAD get maximum segment count for reads
DKIOCGETMAXSEGMENTCOUNTWRITE get maximum segment count for writes
DKIOCGETMAXSEGMENTBYTECOUNTREAD get maximum segment byte count for reads
DKIOCGETMAXSEGMENTBYTECOUNTWRITE get maximum segment byte count for writes
DKIOCGETMINSEGMENTALIGNMENTBYTECOUNT get minimum segment alignment in bytes
DKIOCGETMAXSEGMENTADDRESSABLEBITCOUNT get maximum segment width in bits
DKIOCGETFEATURES get device's feature set
DKIOCGETPHYSICALBLOCKSIZE get device's block size
DKIOCGETCOMMANDPOOLSIZE get device's queue depth
DKIOCGETPROVISIONSTATUS get device's block provision status
DKIOCGETIOMINSATURATIONBYTECOUNT get minimum byte count to saturate storage bandwidth
DKIOCGETERRORDESCRIPTION get description of any drive error
DKIOCGETMAXSWAPWRITE get maximum swap file write per day in bytes