A file system with a one-level directory structure is implemented on a disk…

PYQ GATE 1996

A file system with a one-level directory structure is implemented on a disk with disk block size of 4 K bytes. The disk is used as follows:

Disk-block 0

File Allocation Table, consisting of one 8-bit entry per data block, representing the data block address of the next data block in the file

Disk-block 1

Directory, with one 32-bit entry per file

Disk-block 2

Data block 1

Disk-block 3

Data block 2; etc.

(a) What is the maximum possible number of files?

(b) What is the maximum possible file size in blocks?

Sign up free to check your answer

Sign up free

Explore the full course: Operating System

Loading lesson…