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?
- A513 Kbytes
- B513 MBytesCorrect answer
- C537 Mbytes
- D537 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.