carta
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.

History

  • Debian 9 (Stretch): the text shown here
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)

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.