All Exams Test series for 1 year @ ₹349 only
Question

A unix file system has 1-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 ?

This question was previously asked in
UGC NET 2015 Paper 2 History Question Paper (28-Jun-2015)
The correct answer is

16 GB

One 1 KB block holds 1024 / 4 = 256 disk addresses.

\(\text{Direct} = 10 \times 1\,KB = 10\,KB\)

\(\text{Single indirect} = 256 \times 1\,KB = 256\,KB\)

\(\text{Double indirect} = 256^{2} \times 1\,KB = 64\,MB\)

\(\text{Triple indirect} = 256^{3} \times 1\,KB = 2^{24}\,KB = 16\,GB\)

Check: the total \(10\,KB + 256\,KB + 64\,MB + 16\,GB\) is dominated by the triple indirect part, about 16 GB.

Hence, 16 GB.

Was this answer helpful?

Similar Questions

  1. Match the following :

    List - IList - II
    a. Contiguous allocationi. This scheme supports very large file sizes.
    b. Linked allocationii. This allocation technique supports only sequential files.
    c. Indexed allocationiii. Number of disks required to access file is minimal.
    d. Multi-level indexediv. This technique suffers from maximum wastage of space in storing pointers.

    Codes :

  2. In the indexed scheme of blocks to a file, the maximum possible size of the file depends on :

  3. In __________ allocation method for disk block allocation in a file system, insertion and deletion of blocks in a file is easy.


Important Questions from File Allocation - Teaching

  1. Match the following :

    List - IList - II
    a. Contiguous allocationi. This scheme supports very large file sizes.
    b. Linked allocationii. This allocation technique supports only sequential files.
    c. Indexed allocationiii. Number of disks required to access file is minimal.
    d. Multi-level indexediv. This technique suffers from maximum wastage of space in storing pointers.

    Codes :

  2. In the indexed scheme of blocks to a file, the maximum possible size of the file depends on :

  3. In __________ allocation method for disk block allocation in a file system, insertion and deletion of blocks in a file is easy.

  4. A magnetic tape drive writes 600000 bytes of data while the tape moves continuously at 200 inches per second. The data recording density is 1600 bytes per inch. Each record contains 100 one-byte characters, and the blocking factor is 10 records per block. Assume an interblock gap of exactly 0.6 inch between consecutive blocks. Ignore all other recording overhead, including preambles and postambles, and exclude acceleration, stopping, and any gap before the first or after the last block. What is the elapsed time from the start of writing the first data block to the completion of the last?

  5. What is called Journaling in Linux operating system?

Need Expert Advice?
Upcoming Exams
CTET
December 12, 2026
WB SET
December 13, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) December 2026 Mock Test Series
799 Tests 2 Tests Free
297 Attempts
4.4(45)
English, Hindi
More Questions from UGC NET

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App