scsi_bios_ptable(9)

scsi_bios_ptable9

Read pc partition table out of first sector of device.

Usage

unsigned char * scsi_bios_ptable(struct block_device * dev);

Arguments

dev

from this device

Overview

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.

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

Authors

James Bottomley <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.