1,335 views
1 1 vote

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 stored only in a one particular place may be in the direct disk block address or may be in single indirect or may be in double indirect. "
  if anybody have a reference for this approach then plzz tell.It ma b the case that for long size of disk block it is near about same to actual ans but not always.
but ithink it is not true even this concept is applied on many question @gateoverflow.....like
https://gateoverflow.in/92329/made-easy-os-file-systems?show=92329#q92329
https://gateoverflow.in/92065/made-easy-test-series?show=92065#q92065
https://gateoverflow.in/92187/there-difference-calculation-max-size-file-system-size-file?show=92187#q92187https://gateoverflow.in/82325/made-easy-test-series?show=82325#q82325
    nd many questions like this but that is not our point... now comes 2 different scenario 
-----------------------------------------------------------------------------------------------------------------------------------------------
bellow it is a problem from tanenbaum os book...
"A UNIX file system has 4-KB blocks and 4-byte disk addresses. What is the maximum
file size if i-nodes contain 10 direct entries, and one single, double, and triple indirect
entry each"

now while going through some standard weblinks like http://stackoverflow.com/questions/2742163/maximum-file-size-given-a-particular-inode-structure
and some universities material i find that a file may store i 2 different places like double inderect and triple indirect 
https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&cad=rja&uact=8&ved=0ahUKEwj0t_-elZHRAhXLKo8KHaUxAIIQFgg2MAQ&url=http%3A%2F%2Fwww.coe.utah.edu%2F~cs5460%2Fslides%2FLecture19.pdf&usg=AFQjCNG-kEktxwh3o6lGfkG_tNHgu6YD_A&sig2=XdhP-iqJrEH7GIG3ZAbH8w

https://www.cs.utexas.edu/~lorenzo/corsi/cs372/06F/hw/11sol.html

Please log in or register to answer this question.

Position:
Show:

Related questions

4 4 votes
1 1 answer
5.9k
5.9k views
rahul sharma 5 asked Aug 25, 2017
5,944 views
Consider the organization of a UNIX file as represented by the inodeAssume that there are 12 direct block pointers, and a singly, doubly, and triply indirectpointer in ea...
0 0 votes
0 0 answers
969
969 views
Aboveallplayer asked Dec 31, 2016
969 views
consider a unix file system impleneted with i-node,that resides on a disk of size 512GB.Each i-node has atotal of 15 block addresses,consisting of direct and indirect bl...
3 3 votes
1 1 answer
1.2k
1.2k views
Anup patel asked Oct 13, 2017
1,234 views
1 1 vote
0 0 answers
1.2k
1.2k views
Shubhanshu asked Sep 5, 2017
1,201 views
Explain the following terms with there respective formula (expression)1) Max file size2) Max possible file size3) Max Disk Size4) Total file size5) max possible size of t...