in Operating System
246 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
in Operating System
246 views

1 Answer

0 votes
0 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.

1 comment

thanks
0
0

Related questions

3 votes
3 votes
1 answer
3