in Operating System edited by
735 views
1 vote
1 vote

Consider a unix inode which maintains $5$ direct disk blocks, $1$ single indirect, $1$ double indirect and $1$ triple indirect DBA. Disk block size is $4 \text{ KB }$ and disk block address is $32 \text{ bits }$. Which of the following is maximum possible file size?

  1. $4 \text { TB }$
  2. $256 \text{ GB }$
  3. $512 \text{ GB }$
  4. $2 \text{ TB }$

Answer by ME: Option $(A)$

in Operating System edited by
735 views

4 Comments

4TB is `correct..
0
0
moved by

4 TB is correct answer..

0
0

@Bikram sir

@srestha ma'am

@akash.dinkar12 sir

maximum possible file size

$\left(5+ 2^{10}+2^{20}+2^{30} \right)\times 4KB$ $\approx$ $4TB$

$how\ is\ this\ equal\ to\ 4TB\ ?$

Are we just multiplying $2^{30}\times 4KB$ which is leading us to $4TB\ ?$ Which is wrong I think !!

0
0

Please log in or register to answer this question.

Related questions