703 views
3 3 votes

1.) A file system with 512 GB disk uses a file descriptor with 16 direct block addresses, 1 indirect block address, 1 doubly indirectly block address and 1 triple indirect block addresses. Size of each disk block is 256 bytes and the size of each disk block address is 8 bytes. The maximum possible file size is____________(in MB).  // why ans is 8MB why not 8.26

2,) In a particular Unix OS, each data block is of size 1024 bytes, each node has 10 direct data block addresses and three additional addresses: one for single indirect block, one for double indirect block and one for triple indirect block. Also, each block can contain addresses for 128 blocks. Which one of the following is approximately the maximum size of a file in the file system?

3) Consider a unix file system which uses 12 Direct and a single indirect block pointer for file implementation. Assume that the block size is 4KB and each block can hold 512 block addresses. The maximum size of a file on such a system is ___________ KB.    //  why ans is 2096KB   ,not 80 KB

1 Answer

Position:
Show:

Related questions

1 1 vote
0 0 answers
607
607 views
mohitbawankar asked Jan 23, 2018
607 views
Consider a scenario where 3 processes P1, P2 and P3 are sharing resources of the same type. The maximum need of the three processes is 4, 8, 6. It is also known that the...
1 1 vote
1 1 answer
596
596 views
ankit_thawal asked Jan 15, 2018
596 views
To detect collision in CSMA/CD.What is the condition?Tt=2*TpOR Tt=Tp
2 2 votes
0 0 answers
578
578 views
ankit_thawal asked Jan 14, 2018
578 views
Can Anyone please post the diagram which describes the relation between P, NP, NPSPACE, NP-Hard, EXPONENTIAL TIME etc.
2 2 votes
3 3 answers
2.6k
2.6k views
thor asked Dec 31, 2016
2,572 views
What does different types of lines mean here? Provide some ref. if you can