scsi_partsize(9) centos man page | unix.com

Man Page: scsi_partsize

Operating Environment: centos

Section: 9

SCSI_PARTSIZE(9)						  SCSI mid layer						  SCSI_PARTSIZE(9)

NAME
scsi_partsize - Parse cylinders/heads/sectors from PC partition table
SYNOPSIS
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
Kernel Hackers Manual 3.10 June 2014 SCSI_PARTSIZE(9)
Related Man Pages
srp_reconnect_rport(9) - centos
mpartition(1) - centos
disktab(5) - ultrix
sd(4) - mojave
sd(4) - php
Similar Topics in the Unix Linux Community
Weird 'find' results
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
How to increment version inside a file?
Please Welcome Dave Munro to the Moderator Team!