scsi_bios_ptable (9) - Linux Man Pages

scsi_bios_ptable: Read PC partition table out of first sector of device.

NAME

scsi_bios_ptable - Read PC partition table out of first sector of device.

SYNOPSIS

unsigned char * scsi_bios_ptable(struct block_device dev);

ARGUMENTS

dev

from this device

DESCRIPTION

Reads the first sector from the device and returns 0x42 bytes starting at offset 0x1be.

RETURN

partition table in kmalloc(GFP_KERNEL) memory, or NULL on error.

AUTHORS

James Bottomley <James.Bottomley [at] hansenpartnership.com>

Author.

Rob Landley <rob [at] landley.net>

Author.

COPYRIGHT