0 0 votes Can anyone please explain how this calculation is done? A 1.3 GB disk with 512 byte blocks would need a bit map of over 332 KB to track its free blocks . Operating System + – nandini gupta 1.1k views answer comment Share Follow Print See all 4 Comments 4 4 Comments reply Shaik Masthan commented Aug 27, 2018 reply Follow flag 1.3 GB disk with 512 byte blocks so total blocks = $\frac{1.3 \;X\; 2^{30} }{2^{9}}$ = ${1.3 \;X\; 2^{21} }$ Blocks ∴ ${1.3 \;X\; 2^{21} }$ Bits required to represent those blocks = ${1.3 \;X\; 2^{18} }$ Bytes = ${1.3 \;X\;256\;X\; 2^{10} }$ Bytes = ${1.3 \;X\;256}$ KB = 332 KB 1 1 replyShare nandini gupta commented Aug 28, 2018 reply Follow flag Thanks a lot 0 0 replyShare nandini gupta commented Aug 28, 2018 reply Follow flag There are 1.3 * (2)^21 blocks . But I think there should be log(1.3 * (2)^21) bits to represent those blocks. How 1.3 * (2)^21 blocks is equal to 1.3 * (2)^21 bits 0 0 replyShare Shaik Masthan commented Aug 28, 2018 reply Follow flag one bit required for one block in bitmap, 1 is used to say that block is free, 0 is used to say that block is not free ( may be you can interchange ). 0 0 replyShare Please log in or register to add a comment.