Thread View: comp.sys.ibm.pc.programmer
1 messages
1 total messages
Started by B. Scott Henderson
Sat, 10 Mar 1990 04:17
Disk Partition Table
Author: B. Scott Henderson
Date: Sat, 10 Mar 1990 04:17
Date: Sat, 10 Mar 1990 04:17
29 lines
1732 bytes
1732 bytes
How does one access a hard disk partition table? I have a couple of references which indicate that it is the first sector on the disk. However, when I read logical sector #0 using int 25h (from C) I get the boot sector. My references say these are the same sector but I can't parse any of the partition table entry fields (I CAN parse the boot sector fields like system name, BIOS parameter block, etc). In addition, using Norton's nu I can read head=1, track=0, sector=1 and get the boot sector or head=0, track=0, sector=1 to get the partition table. I tried using int 13h to read head=0, track=0, sector=1 but was unsuccessful. Does anyone have any clue as to how to get at the partition table from C/Assembler? Any working code would be very helpful. Thanks. Scott H. ------------------------------------------------------------------------------- B. Scott Henderson Internet: henders@mist.cs.orst.edu Department of Computer Science UUCP: hplabs!hp-pcd!orstcs!henders Oregon State University Corvallis, OR 97331 (503) 737-3273 "One thing is for certain, the sheep is not a creature of the air." - M. Python -------------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads