File Systems: GATE CS Previous Year Questions

File Systems · Operating System

12 questions · asked in 10 of 27 years (2000–2026)

MCQ 8 · NAT 41-mark 8 · 2-mark 4

2000Questions per year2026

Questions 6–10 of 12

Q6GATE 20122 marksMCQ−0.67 if wrong
A file system with 300 GByte disk uses a file descriptor with 8 direct block addresses, 1 indirect block address and 1 doubly indirect block address. The size of each disk block is 128 Bytes and the size of each disk block address is 8 Bytes. The maximum possible file size in this file system is

Q7GATE 20081 markMCQ−0.33 if wrong
The data blocks of a very large file in the Unix file system are allocated using

Q8GATE 20051 markMCQ−0.33 if wrong
A student wishes to create symbolic links in a computer system running Unix. Three text files named "file1", "file2" and "file3" exist in her current working directory, and the student has read and write permissions for all three files. Assume that file1 contains information about her hobbies, file2 contains information about her friends and file3 contains information about her courses. The student executes the following sequence of commands from her current working directory.
 ln -s file1 file2
ln -s file2 file3

Which of the following types of information would be lost from her file system?
I.Hobbies
II.Friends
III.Courses

Q9GATE 20041 markMCQ−0.33 if wrong
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?

Q10GATE 20041 markMCQ−0.33 if wrong
A unix-style I-node has 10 direct pointers and one single, one double and one triple indirect pointers. Disk block size is 1 Kbyte, disk block address is 32 bits, and 48-bit integers are used. What is the maximum possible file size?

Keep practising

Topics in Operating System

All CS topics ›