179k views
4 votes
Certain file system uses 4-kb disk blocks. the median file size is 1 kb. if all files were exactly 1 kb, what fraction of the disk space would be wasted? do you think the wastage for a real file system will be higher than this number or lower than it? explain your answer

User Alex Szabo
by
8.1k points

2 Answers

2 votes

Answer:

3/4 of the storage capacity are wasted.

the wastage for a real file system will be lower

Explanation:

If the file size is 1 kb and the file system uses 4-kb disk blocks, then 4 - 1 = 3 kb are being wasted. That represents 3/4 of the storage capacity.

I think the wastage for a real file system will be lower because every file system has disk blocks with different capacities and they are used considering the file size, using the storage capacity efficiently.

User Weky
by
8.7k points
3 votes
A 1kb file to put inside a 4kb file of a disk would waste valuable space. Because you are technically just placing four more files inside the disk. It is very limited and can be waste of consumption inside the disk. 
User Sriram Sakthivel
by
8.2k points