other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
SCSI_BIOS_PTABLE(9) | SCSI mid layer | SCSI_BIOS_PTABLE(9) |
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¶
devfrom 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@hansenpartnership.com>Author.
Rob Landley <rob@landley.net>
Author.
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |