I am totally new in programming with C i have few more questions:
1. )How can i check total file length is small enough to be
represented in MAX_BLOCKS_PER_FILE (known)?
2.) How can i check there is a free inode
3.) How can i check there is room in the directory
4.) How can i update my structure( bitmap, directory, inode, datablocks, superblock) after theses operations
Note: I am operating between linux file system and my own file syst. composed of: