in Operating System
451 views
0 votes
0 votes
Given disk block size, disk block address size, number of direct and single, double, triple indirect blocks.

n = ( No of direct addresses + (db size/dba) + (db size/dba)*(db size/dba) + (db size/dba)*(db size/dba)*(db size/dba))*dbsize

Is n = max size of filesystem or max size of file? How do we calculate the other parameter?

Thanks.
in Operating System
by
451 views

1 Answer

1 vote
1 vote

Here n  will just give you  " size of file system", and  if you want to find... max. size of file  then use it ---->   max. size of file =  (# block pointers in triple indirect ) *Block size=[(D.B size)/(D.B.A size) ]3*D.B size !!  

Related questions

1 vote
1 vote
0 answers
4