ata_std_bios_param(9)

ata_std_bios_param9

Generic bios head/sector/cylinder calculator used by sd.

Usage

int ata_std_bios_param(struct scsi_device * sdev, struct block_device * bdev, sector_t capacity, int geom[]);

Arguments

sdev

SCSI device for which BIOS geometry is to be determined

bdev

block device associated with sdev

capacity

capacity of SCSI device

geom[]

location to which geometry will be output

Overview

Generic bios head/sector/cylinder calculator used by sd. Most BIOSes nowadays expect a XXX/255/16 (CHS) mapping. Some situations may arise where the disk is not bootable if this is not used.

LOCKING: Defined by the SCSI layer. We don't really care.

Return

Zero.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Jeff Garzik

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.