Query: scsi_bios_ptable
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCSI_BIOS_PTABLE(9) SCSI mid layer SCSI_BIOS_PTABLE(9)NAMEscsi_bios_ptable - Read PC partition table out of first sector of device.SYNOPSISunsigned char * scsi_bios_ptable(struct block_device * dev);ARGUMENTSdev from this deviceDESCRIPTIONReads the first sector from the device and returns 0x42 bytes starting at offset 0x1be.RETURNSpartition table in kmalloc(GFP_KERNEL) memory, or NULL on error.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 SCSI_BIOS_PTABLE(9)