Finding what hard drive sectors occupy a file
问题 I'm looking for a nice easy way to find what sectors occupy a given file. My language preference is C#. From my A-Level Computing class I was taught that a hard drive has a lookup table on the first few KB of the disk. In this table there is a linked list for each file detailing what sectors that file occupies. So I'm hoping there's a convinient way to look in this table for a certain file and see what sectors it occupies. I have tried Google'ing but I am finding nothing useful. Maybe I'm not