Write a program in c that implements the algorithm bmap. Bmap converts the logical block number of a file to its physical block number on the disk. The conversion is done by using the logical block number to index into the array of block pointers described by the dinode.
Input number of bytes: 68000
<< Single Indirect Block Zone,
Contains 256 Direct Block from 0 to 255>>
Number of Direct Blocks in Single Indirect Zone 67
Direct Block numbers 66
Offset number 415
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
Must compile in Unix and must be written in C