Question

Really don't know what its about...

Course in operating system, file system

Question 2. File Systems (10 marks) (a) Consider a 32GB hard disk and a FAT file system with 24 bits cluster (block) address.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

(a) A 32 GB disk has 2^35 bytes of storage;

If each entry in the FAT has 24 bits block address, then there can be at most 2^24 blocks, so each block must be

2^35/2^24 = 2^11 bytes = 2KB

(b)

(i) An indirect block has 1024 bytes * 1 index/4 bytes = 256 pointers
So a file has at most 64 + 256 + 256*2 blocks and (64 + 256 * 256^2) * 1024 bytes.

(ii) Block 3000321 is block number on Block Number = 3000321/1024 =  2930, which means we have to read the inode, the 2-level index, a direct index, and the data block. 4 reads.

Add a comment
Know the answer?
Add Answer to:
Really don't know what its about... Course in operating system, file system Question 2. File Systems (10 marks) (a) Consider a 32GB hard disk and a FAT file system with 24 bits cluster (block) ad...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT