Question

After the disk partition is first formatted, the beginning of a free space bitmap looks like...

After the disk partition is first formatted, the beginning of a free space bitmap looks like this: 1000 0000 0000 0000 (the first block is used by the root directory). As we discussed during the lecture, the system always searches for free blocks starting at the lowest numbered block, so after writing file A, which uses six blocks, the bitmap would change to 1111 1110 0000 0000... . Show the bitmap after each of the following actions: a) File B is written, using five blocks; 3 b) File A is deleted; c) File C is written, using eight blocks; d) File B is deleted.

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

1000 0000 0000 0000 - (Initial state of bit-map)

1111 1110 0000 0000... (after writing file A. mentioned in question)

now

a) File B is written, using five blocks

1111 1111 1111 0000

b) File A is deleted

1000 0001 1111 0000

c)  File C is written, using eight blocks

1111 1111 1111 1100 (see here, to insert 8 blocks it will re-use 6 block before B, and remaining(8-6=2)block after file B)

d) File B deleted

1111 1110 0000 1100

Add a comment
Know the answer?
Add Answer to:
After the disk partition is first formatted, the beginning of a free space bitmap looks like...
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
  • Consider an empty 1 Gbyte disk with the block size of 4096 bytes. When the disk...

    Consider an empty 1 Gbyte disk with the block size of 4096 bytes. When the disk is formatted blocks 0 is occupied for system-related information. The system always allocated free blocks starting st the lowest numbered block, and it uses non-contiguous allocation. Question 6 (2, 4) Consider an empty 1 Gbyte disk with the block size of 4096 bytes. When the disk is formatted blocks 0 is occupied for system-related information. The system always allocates free blocks starting at the...

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