asked 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

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.

answered
User Weky
by
8.5k 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. 
answered
User Sriram Sakthivel
by
8.1k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.