2,686 views
4 4 votes
In particular unix OS each data block is of size 1024 bytes each node has 10 direct data blocks and 2-additional addresses one for single indirect block and one for double indirect block. Each block is addressed with 64 byte. The maximum possible size of file in the file system (in KB) is ?

My answer:282

answer given 256.? anyone help.

2 Answers

Best answer
4 4 votes

No. of addresses per disk block = 1024/64 = 16 

File size = 10*1024 + 16*1024 + 16*16*1024 = 282 KB

File size is 282 KB 

• selected by
Position:
Show:

Related questions

3 3 votes
1 1 answer
1.3k
1.3k views
Anup patel asked Oct 13, 2017
1,256 views
0 0 votes
1 1 answer
1.7k
1.7k views
allofasudden asked Jan 17, 2017
1,692 views
A unix I node has 10 direct pointers 1 double indirect, 1 triple indirect and 1 quadruple indirect pointers. Disk block size is 1 byte. If the max number of bytes of a fi...
0 0 votes
0 0 answers
879
879 views
jatinmittal199510 asked Jan 17, 2017
879 views
What all topics do we need to study from the topic ' File Systems' in Operating System for GATE ?
1 1 vote
0 0 answers
1.4k
1.4k views
saurabh rai asked Dec 26, 2016
1,374 views
While solving gate previous year questions on unix i-node file system implementation many people having doubt like....."Depending on the size of the file the file will be...