Request Packets are used for small I/O requests or status requests to the device manager.
The following table shows the Request Packets that are supported by the OS2DASD Device Manager:
┌──────────┬──────────────────────────────────────────────────┐ │Cmd Code │Packet Name │ ├──────────┼──────────────────────────────────────────────────┤ │01h │Check Media Change │ ├──────────┼──────────────────────────────────────────────────┤ │02h │Build BPB │ ├──────────┼──────────────────────────────────────────────────┤ │04h │Read │ ├──────────┼──────────────────────────────────────────────────┤ │08h │Write │ ├──────────┼──────────────────────────────────────────────────┤ │09h │Write with Verify │ ├──────────┼──────────────────────────────────────────────────┤ │0Fh │Check Removable │ ├──────────┼──────────────────────────────────────────────────┤ │10h │Generic IOCtl │ ├──────────┼──────────────────────────────────────────────────┤ │11h │Reset Media Change │ ├──────────┼──────────────────────────────────────────────────┤ │12h │Get Logical Drive Map │ ├──────────┼──────────────────────────────────────────────────┤ │13h │Set Logical Drive Map │ ├──────────┼──────────────────────────────────────────────────┤ │16h │Get Partitionable Disk Count │ ├──────────┼──────────────────────────────────────────────────┤ │17h │Map Unit Numbers to Physical Drive │ ├──────────┼──────────────────────────────────────────────────┤ │18h │Read (Suppress caching) │ ├──────────┼──────────────────────────────────────────────────┤ │19h │Write (Suppress caching) │ ├──────────┼──────────────────────────────────────────────────┤ │1Ah │Write w/Verify (Suppress caching) │ ├──────────┼──────────────────────────────────────────────────┤ │1Dh │Get Extended Disk Interface Info │ └──────────┴──────────────────────────────────────────────────┘
The formats of these packets can be found in the OS/2 Physical Device Driver Reference. For more information regarding the implementation and interpretation of these packets by OS2DASD, see Request Packet Management.