scsicam_bios_param (9) - Linux Manuals
scsicam_bios_param: Determine geometry of a disk in cylinders/heads/sectors.
NAME
scsicam_bios_param - Determine geometry of a disk in cylinders/heads/sectors.
SYNOPSIS
-
int scsicam_bios_param(struct block_device
* bdev, sector_tcapacity, int * ip);
ARGUMENTS
bdev
-
- which device
capacity
- size of the disk in sectors
ip
- return value: ip[0]=heads, ip[1]=sectors, ip[2]=cylinders
DESCRIPTION
determine the BIOS mapping/geometry used for a drive in a SCSI-CAM system, storing the results in ip as required by the HDIO_GETGEO ioctl.
RETURN
AUTHORS
James Bottomley <James.Bottomley [at] hansenpartnership.com>
- Author.
Rob Landley <rob [at] landley.net>
- Author.
COPYRIGHT