suse man page for scsicam_bios_param

Query: scsicam_bios_param

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SCSICAM_BIOS_PARAM(9)						  SCSI mid layer					     SCSICAM_BIOS_PARAM(9)

NAME
scsicam_bios_param - Determine geometry of a disk in cylinders/heads/sectors.
SYNOPSIS
int scsicam_bios_param(struct block_device * bdev, sector_t capacity, 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.
RETURNS
-1 on failure, 0 on success.
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SCSICAM_BIOS_PARAM(9)
Related Man Pages
sd(4) - centos
sd(4) - debian
sd(4) - opendarwin
sd(4) - v7
sd(4) - freebsd
Similar Topics in the Unix Linux Community
Getting command output to putty window title.
Grant unprivileged user rights to see the output of echo|format but not modify disks
Migrating to UNIX
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com