Query: scsi_partsize
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCSI_PARTSIZE(9) SCSI mid layer SCSI_PARTSIZE(9)NAMEscsi_partsize - Parse cylinders/heads/sectors from PC partition tableSYNOPSISint scsi_partsize(unsigned char * buf, unsigned long capacity, unsigned int * cyls, unsigned int * hds, unsigned int * secs);ARGUMENTSbuf partition table, see scsi_bios_ptable capacity size of the disk in sectors cyls put cylinders here hds put heads here secs put sectors hereDESCRIPTIONdetermine the BIOS mapping/geometry used to create the partition table, storing the results in *cyls, *hds, and *secsRETURNS-1 on failure, 0 on success.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 SCSI_PARTSIZE(9)
Related Man Pages |
---|
mpartition(1) - redhat |
sd(4) - redhat |
sd(4) - debian |
disktab(5) - ultrix |
sd(4) - osx |