IO Control Codes for Block Device Drivers

Block device drivers must respond to the following I/O control codes to interface properly with the FAT file system. For complete information on these codes, see the Reference.

I/O control code
Description
DISK_IOCTL_GETINFO Retrieves information about the block device.
DISK_IOCTL_READ Reads data from the block device.
DISK_IOCTL_WRITE Writes data to the block device.
DISK_IOCTL_SETINFO Sets information about the block device.
DISK_IOCTL_FORMAT_MEDIA Formats at a low level or reformats the block device.
DISK_IOCTL_GETNAME Retrieves the name that file system drivers should use as the block device’s folder.