1SCSI_BIOS_PTABLE(9) SCSI mid layer SCSI_BIOS_PTABLE(9)
2
3
4
6 scsi_bios_ptable - Read PC partition table out of first sector of
7 device.
8
10 unsigned char * scsi_bios_ptable(struct block_device * dev);
11
13 dev
14 from this device
15
17 Reads the first sector from the device and returns 0x42 bytes starting
18 at offset 0x1be.
19
21 partition table in kmalloc(GFP_KERNEL) memory, or NULL on error.
22
24 James Bottomley <James.Bottomley@hansenpartnership.com>
25 Author.
26
27 Rob Landley <rob@landley.net>
28 Author.
29
31Kernel Hackers Manual 2.6. June 2019 SCSI_BIOS_PTABLE(9)