1SCSI_BIOS_PTABLE(9)             SCSI mid layer             SCSI_BIOS_PTABLE(9)
2
3
4

NAME

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

SYNOPSIS

10       unsigned char * scsi_bios_ptable(struct block_device * dev);
11

ARGUMENTS

13       dev
14           from this device
15

DESCRIPTION

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

RETURNS

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

AUTHORS

24       James Bottomley <James.Bottomley@hansenpartnership.com>
25           Author.
26
27       Rob Landley <rob@landley.net>
28           Author.
29
31Kernel Hackers Manual 2.6.       November 2011             SCSI_BIOS_PTABLE(9)
Impressum