Question: if one does a Createfs 100 (100 blocks (sectors) in the disk), then Formatfs 40 32 (filenames, directory entries), there are limits to files. a)
if one does a "Createfs 100" (100 blocks (sectors) in the disk), then "Formatfs 40 32" (filenames, directory entries), there are limits to files. a) How many 1 byte files can be stored? (why) b) How many different files can be stored (why)? c) What is the maximum size of one, single file (why)? d) How much actual (physical) disk space is occupied? e) When a small file (20 characters) is removed, can that space ever be reused for a large file (how or why not)? f) How can your program find empty space for a new file, can it look to see if a sector (block) is all zero, meaning it is empty?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
