Y asked in Computers & InternetOther - Computers · 9 months ago

Operating System Memory Management question:?

Like all “real” file systems has many limitations. For example, 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?

There are no answers yet.
Be the first to answer this question.