0% found this document useful (0 votes)
3 views11 pages

Maharashtra State Board of Technical Education P.E.S Polytechnic Aurangabad

Uploaded by

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

Maharashtra State Board of Technical Education P.E.S Polytechnic Aurangabad

Uploaded by

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

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

P.E.S POLYTECHNIC AURANGABAD

Title of the topic:


Directory Structure
Third Year Diploma : Computer Branch
Program code: CO-5-I
Semester: Fifth
Subject: Operating System
Team Members:
1.Shaikh Sheza Suhail
2.Swamini Sonawane

Guided by : Prof.Nisha Pawar


Directory Structure
• What is a directory?
• Types of directories.
• Single level directory structure
• Two level directory structure
• Hierarchical directory structure
Directory
• What is a directory?
• A directory is like a folder on your computer that helps organize files.
It’s a way to group related files together, making it easier to find
them. Just like you might have a folder for schoolwork, photos, or
music, a directory on a computer does something similar. Inside a
directory, you can have files (like documents or pictures) and even
other directories, which are called subdirectories.

• Directory Structure Example
• Think of it like a tree:
• The root directory is like the base of the tree (at the very top).
Every other directory is a branch off of it.
Types of Directory structure
• Single level directory structure
• Two level directory structure
• Hierarchical directory structure
Single level directory structure
• In this system, all files are stored in a single directory.
Both users and programs place all their files in this one
directory, making it flat and simple. There are no
subdirectories or folder hierarchies, which means every
file is stored at the same level.
Characteristics
1. Simple Organization: All files are placed together, making it
easy to find files if the number of files is small.

2. No Hierarchy: There are no subfolders or subdirectories, so


there’s only one “level” where files can be stored.

3. Name Uniqueness: Since all files are in one directory, each file
must have a unique name to avoid confusion or conflict.
Two level directory structure
• In the two-level directory structure, each user gets their
own directory. This is an improvement over the single-
level structure because it helps organize files better,
especially in systems with multiple users.
Characteristics
1. User-Specific Directories: Each user has a separate
directory, and all their files are stored in that directory.

2. Name Uniqueness Within User: Users can name their


files however they want within their own directory, but
file names must still be unique within that directory.

3. Isolation: One user’s files are kept separate from


others, so there’s no risk of name conflict between users.
Hierarchical directory structure
• The hierarchical directory structure (also called a tree-
structured directory) is the most common and flexible
type of directory structure used in modern operating
systems. It allows directories to contain subdirectories,
creating a tree-like structure.
Characteristics
1. Multi-Level Organization: Directories can contain both files and
other directories (subdirectories), allowing for deep levels of
organization.

2. Parent-Child Relationships: Directories are related in a parent-


child hierarchy, with the root directory at the top.

3. Flexible Naming: Files and directories can have the same name as
long as they are in different parts of the directory tree.
Thank you.

You might also like