This commit is contained in:
Michael Kerrisk 2007-12-16 13:49:24 +00:00
parent 91443f6c60
commit 08362d55a5
2 changed files with 6 additions and 4 deletions

View File

@ -71,7 +71,7 @@ The following
.IR ioctl s .IR ioctl s
are provided: are provided:
.TP .TP
HDIO_GETGEO .B HDIO_GETGEO
.RS .RS
Returns the BIOS disk parameters in the following structure: Returns the BIOS disk parameters in the following structure:
.RS .RS
@ -106,14 +106,14 @@ If the geometry information is not available, zero will be returned for all
of the parameters. of the parameters.
.RE .RE
.TP .TP
BLKGETSIZE .B BLKGETSIZE
Returns the device size in sectors. Returns the device size in sectors.
The The
.BR ioctl (2) .BR ioctl (2)
parameter should be a pointer to a parameter should be a pointer to a
.IR long . .IR long .
.TP .TP
BLKRRPART .B BLKRRPART
Forces a re-read of the SCSI disk partition tables. Forces a re-read of the SCSI disk partition tables.
No parameter is needed. No parameter is needed.

View File

@ -307,7 +307,9 @@ A special case is available for some HP
autoloaders. autoloaders.
If If
.I mt_count .I mt_count
is the constant MT_ST_HPLOADER_OFFSET plus a number, the number is is the constant
.B MT_ST_HPLOADER_OFFSET
plus a number, the number is
sent to the drive to control the autoloader. sent to the drive to control the autoloader.
.IP MTLOCK .IP MTLOCK
Lock the tape drive door. Lock the tape drive door.