1. NAME

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

2. SYNOPSIS

unsigned char * scsi_bios_ptable(struct block_device *  dev );

3. ARGUMENTS

dev
    from this device

4. DESCRIPTION

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

5. RETURNS

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

6. AUTHORS

James Bottomley <>
    Author.

Rob Landley <>
    Author.

7. COPYRIGHT