Write a program that implements the MFT data block allocation algorithm in c taking input as command line.
The program takes one input, a block number file, and produces one output, the list of runs. The output format is one line per run.
I will provide a block number file whose format is one block number per line.
2
3
4
5
6
7
11
12
13
Assume your program is called mymft
$ mymft block-number-file
Run 1: starting block 2, run length 6
Run 2: starting block 11, run length 3