0% found this document useful (0 votes)
72 views3 pages

Directory Structure

Uploaded by

mohitrohramusic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views3 pages

Directory Structure

Uploaded by

mohitrohramusic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Directory Structure:

Single level:

• The single-level directory is the simplest directory structure. In it, all


files are contained in the same directory, which makes it easy to
support and understand.
• Single level directory has a significant limitation, however, when the
number of files increases or when the system has more than one
user.
• Since all the files are in the same directory, they must have a unique
name. If two users call their dataset test, then the unique name rule
violated.
Two Level Directory Structure:

As
we have seen, a single level directory often leads to confusion of
files names among different users.
The solution to this problem is to create a separate directory for each
user.
In the two-level directory structure, each user has their own user files
directory (UFD).
The UFDs have similar structures, but each lists only the files of a single
user. System’s master file directory (MFD) is searched whenever a new
user id is created.
• Searching is very easy
• Grouping is easier.
Three level directory:

• Tree directory structure of operating system is most commonly used


in our personal computers. User can create files and subdirectories
too, which was a disadvantage in the previous directory structures.
• This directory structure resembles a real tree upside down, where
the root directory is at the peak.
• This root contains all the directories for each user.
• The users can create subdirectories and even store files in their
directory.
• A user do not have access to the root directory data and cannot
modify it.
• And, even in this directory the user do not have access to
other user’s directories.
• The structure of tree directory is given below which shows how
there are files and subdirectories in each user’s directory

You might also like