Rechercher une page de manuel
scsi_partsize
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
scsi_partsize - Parse cylinders/heads/sectors from PC partition tableSYNOPSIS
- int scsi_partsize(unsigned char * buf, unsigned long capacity, unsigned int * cyls, unsigned int * hds, unsigned int * secs);
ARGUMENTS
buf
- partition table, see scsi_bios_ptable
capacity
- size of the disk in sectors
cyls
- put cylinders here
hds
- put heads here
secs
- put sectors here
DESCRIPTION
determine the BIOS mapping/geometry used to create the partition table, storing the results in *cyls, *hds, and *secs
RETURNS
-1 on failure, 0 on success.
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com>
- Author.
Rob Landley <rob@landley.net>
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre