377 views
0 votes
0 votes
consider a file system, using a single level directory structure. The Block size is 4 KB & Disk address is 32 bits. The directory is housed in 4 blocks of Disk and holds 32 bit information in its entry. The maximum number of files supported by this file system is ?

 

Ans given is 4096

1 Answer

1 votes
1 votes
Block size = 4KB

Disk address size = 32bits

As directory is housed in 4 blocks, so total storage space occupied by the directory = 4*4KB

As each file is represented using 32bits, so number of files that it can represent = 4*4KB/32 = 4096.

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
3