read and write
These routines initiate raw I/O to or from a device.
These routines contain these logic steps:
Extract the minor device number for use by
when performing physical I/O.
Check the minor device number against
the information in the
If it is improper, use the
function to issue an error message,
u.u_error to ENODEV, and return.
For disk devices,
get the size of the device from a local driver array of disk sizes.
to ensure that the I/O is correct for the device size.
This routine calls
which then calls
to perform the raw I/O.
© 2005 The SCO Group, Inc. All rights reserved.