:: RootR ::  Hosting Order Map Login   Secure Inter-Network Operations  
 
scsicam_bios_param(9) - phpMan

Command: man perldoc info search(apropos)  


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.

RETURN
       -1 on failure, 0 on success.

AUTHORS
       James Bottomley <James.Bottomley AT hansenpartnership.com>
           Author.

       Rob Landley <rob AT landley.net>
           Author.

COPYRIGHT
Kernel Hackers Manual 4.8.                 January 2017                     SCSICAM_BIOS_PARAM(9)


/man
rootr.net - man pages