I need to write a test data to a logical partition in full using writeblock().
Suppose am having a partition /dev/hd0t12 - Start cylinder - 501,
End cylinder- 3823 Blocks - 53383995 Size - 26066 MB. I opened fd = open( “/dev/hd0t12”, O_RDWR); Could you please mention how to use writeblock() in this situation. As the total number of blocks is greater than size of int, this api fails. Please help.