Skip to content

UGC NET CS 2020System Software and Operating System › Linux Operating SystemsVerified

UGC NET CS 2020 PYQ: Suppose you have a Linux file system where the block size is $2K$ bytes, a disk address is 32 bits, and an…

Suppose you have a Linux file system where the block size is $2K$ bytes, a disk address is 32 bits, and an $i-$node contains the disk addresses of the first 12 direct blocks of file, a single indirect block and a double indirect block. Approximately, what is the largest file that can be represented by an $i-$node?

  1. A
    513 Kbytes
  2. B
    513 MBytes
    Correct answer
  3. C
    537 Mbytes
  4. D
    537 KBytes

Answer

(B) 513 MBytes

Approach

Compute the number of addressable blocks from direct, single-indirect, and double-indirect entries, then multiply by block size and convert to MB.

Reviewed by UGC IQ Editorial Team.