CS609 Assignment 3 Solution Feb 2015

Assignment Question: [Marks = 20]

Write a C program in BORLANDC to read the information about extended partition of your system’s hard disk using extended 13H services. The program should display the following information by reading the data part of the partition table.

ü  End Cylinder

ü  Boot Record with respect to start of partition

ü  Count of sectors from boot sector

ü  System ID

ü  LBA (Low).

Your program should also write the above information in a text file named “VUStudentID.txt” for example; “BC00000000.txt”. The path of the text file should be the root directory of C partition.