SlideShare a Scribd company logo
6
Most read
13
Most read
15
Most read
DIRECTORY STRUCTURE AND FILE
SYSTEM MOUNTING IN OS
M.Raj shree
M.SC(IT)
Nadar saraswathi college of arts&science
Directory Structure
 Directory structure provides both the above-
discussed features. A directory always has
information about the group of related
files. Whenever a user or a process request for
a file, the file system search for the file’s entry
in the directory and when the match is found, it
obtains the file’s location from there.
 A directory is a container that is used to
contain folders and file. It organizes files and
folders into a hierarchical manner.
Types of Directory Structures
Single-level directory structure
 Single level directory structure has only one
directory which is called the root directory. The
users are not allowed to create subdirectories
under the root directory. All the files created by
the several users are present in the root
directory only.
 Single level directory is simplest directory
structure.In it all files are contained in same
directory which make it easy to support and
understand.
Advantages
 Since it is a single directory, so its
implementation is very easy.
 If the files are smaller in size, searching
will become faster.
 The operations like file creation, searching,
deletion, updating are very easy in such a
directory structure.
directory structure and file system mounting
Two-level directory structure
 In Two-level directory structure, the users
create directory directly inside the root
directory. But once a user creates such
directory, further he cannot create any
subdirectory inside that directory
 4 users have created their separate directory
inside the root directory. But further, no
subdirectory is created by the users.
 This two-level structure allows each user to
keep their files separately inside their own
directory. This structure allows to use the same
name for the files but under different user
directory structure and file system mounting
Hierarchical Directory Structure
 In Hierarchical directory structure, the users
can create directories under the root directory
and can also create sub-directories under this
structure. As the user is free to create many
sub-directories, it can create different sub-
directories for different file types.
 Here, the files are accessed by their location
using the path. There are two types of paths to
locate the file in this directory structure
Tree Directory Structure
 In a tree directory structure, except root
directory, every directory or file has only one
parent directory. So, there is a total
separation between the users which provide
complete naming freedom. Here, if a user
wishes to access another users file, it has to go
through two or more directories.
 The tree directory structure provides an
asymmetric way for the user to access the
shared files of a different user. For example, a
user can access a file of its own user directory
with a shorter path than the other user.
directory structure and file system mounting
Acyclic-Graph Directory
Structure
 An acyclic graph is a graph with no cycle and
allows to share subdirectories and files. The
same file or subdirectories may be in two
different directories. It is a natural
generalization of the tree-structured directory.
 directory structure allows a directory or a file to
have many parent directories. So, a shared file
in a directory can be pointed by the other user
directories who have access to that shared file
using the links.
File system mounting
 Mounting is a process by which the operating
system makes files and directories on a storage
device (such as hard drive, CD-ROM, or network
share) available for users to access via the
computer's file system.
 An opposite process of mounting is
called unmounting, in which the operating system
cuts off all user access to files and directories on
the mount point, writes the remaining queue of
user data to the storage device, refreshes file
system metadata, then relinquishes access to the
device; making the storage device safe for
removal.
 A mount point is a location in the
partition used as a root filesystem
 Many different types of storage exist, including
magnetic, magneto-optical, optical, and
semiconductor (solid-state) drives.
 Each different filesystem provides the host
operating system with metadata so that it
knows how to read and write data.
 When the medium (or media, when the
filesystem is a volume filesystem as in
RAID arrays) is mounted, these metadata are
read by the operating system so that it can use
 In order to access a filesystem in Linux you
first need to mount it. Mounting a filesystem
simply means making the particular filesystem
accessible at a certain point in the Linux
directory tree.
 When mounting a filesystem it does not matter
if the filesystem is a hard disk partition, CD-
ROM, floppy, or USB storage device
 Mounting is the attaching of an additional file
system to the currently accessible file
system of a computer.
directory structure and file system mounting
directory structure and file system mounting

More Related Content

PDF
File system in operating system e learning
PPTX
Directory structure
PPTX
File system structure
PPT
PPT
Chapter 10 - File System Interface
PPTX
file system in operating system
PPTX
File System in Operating System
PPT
File Management in Operating Systems
File system in operating system e learning
Directory structure
File system structure
Chapter 10 - File System Interface
file system in operating system
File System in Operating System
File Management in Operating Systems

What's hot (20)

PPT
Domain name system
PPTX
Distributed computing
PPTX
Multimedia Database
PPTX
object oriented methodologies
PPTX
File concept and access method
PPTX
File system Os
PPT
File models and file accessing models
PPTX
OSI Model - Open Systems Interconnection
PPTX
INTER PROCESS COMMUNICATION (IPC).pptx
PDF
Chapter 8 - Multimedia Storage and Retrieval
PPTX
SLA Management in Cloud
PPTX
Distributed database
PPTX
Distributed and clustered systems
PPTX
Challenges of Conventional Systems.pptx
PPT
3. distributed file system requirements
PPTX
Multimedia data and file format
PPTX
File allocation methods (1)
PPT
12. Indexing and Hashing in DBMS
PPT
Layered Architecture
PPTX
Java package
Domain name system
Distributed computing
Multimedia Database
object oriented methodologies
File concept and access method
File system Os
File models and file accessing models
OSI Model - Open Systems Interconnection
INTER PROCESS COMMUNICATION (IPC).pptx
Chapter 8 - Multimedia Storage and Retrieval
SLA Management in Cloud
Distributed database
Distributed and clustered systems
Challenges of Conventional Systems.pptx
3. distributed file system requirements
Multimedia data and file format
File allocation methods (1)
12. Indexing and Hashing in DBMS
Layered Architecture
Java package
Ad

Similar to directory structure and file system mounting (20)

PPTX
FUNDAMENTALS PPT OF ENGINEERING IN AI AND ML
PPTX
File System.pptx
PPTX
File Directory Structure-R.D.Sivakumar
DOCX
file management
PPTX
PPTX
FUNDAMENTALS OF ENGINEERING WITH MACHINE LEARNING AND ARTIFICIAL INTELLIGENCE
PDF
oslectureset7.pdf
PPT
Ch11 OS
 
PPT
PPT
Unit 3 file management
DOCX
File system interfacefinal
PPTX
Double level directory structure 55(1)
PPTX
File System operating system operating system
PPT
network and system admistration by Chapter 4.ppt
PDF
File structure
PPT
os unit-5-part2.ppt,Disk management file
PPT
operating system File - System Interface
PDF
Ch10 file system interface
PPT
file management_osnotes.ppt
FUNDAMENTALS PPT OF ENGINEERING IN AI AND ML
File System.pptx
File Directory Structure-R.D.Sivakumar
file management
FUNDAMENTALS OF ENGINEERING WITH MACHINE LEARNING AND ARTIFICIAL INTELLIGENCE
oslectureset7.pdf
Ch11 OS
 
Unit 3 file management
File system interfacefinal
Double level directory structure 55(1)
File System operating system operating system
network and system admistration by Chapter 4.ppt
File structure
os unit-5-part2.ppt,Disk management file
operating system File - System Interface
Ch10 file system interface
file management_osnotes.ppt
Ad

More from rajshreemuthiah (20)

PPTX
PPTX
PPTX
PPTX
polymorphism
PPTX
solutions and understanding text analytics
PPTX
interface
PPTX
Testing &ampdebugging
PPTX
concurrency control
PPTX
Education
PPTX
Formal verification
PPTX
Transaction management
PPTX
Multi thread
PPTX
System testing
PPTX
software maintenance
PPTX
exception handling
PPTX
e governance
PPTX
recovery management
PPTX
Implementing polymorphism
PPSX
Buffer managements
PPTX
os linux
polymorphism
solutions and understanding text analytics
interface
Testing &ampdebugging
concurrency control
Education
Formal verification
Transaction management
Multi thread
System testing
software maintenance
exception handling
e governance
recovery management
Implementing polymorphism
Buffer managements
os linux

Recently uploaded (20)

PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
A Presentation on Artificial Intelligence
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPT
Teaching material agriculture food technology
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Network Security Unit 5.pdf for BCA BBA.
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
MYSQL Presentation for SQL database connectivity
NewMind AI Weekly Chronicles - August'25 Week I
A Presentation on Artificial Intelligence
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Machine learning based COVID-19 study performance prediction
Review of recent advances in non-invasive hemoglobin estimation
Spectral efficient network and resource selection model in 5G networks
Understanding_Digital_Forensics_Presentation.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Teaching material agriculture food technology
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Big Data Technologies - Introduction.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
The AUB Centre for AI in Media Proposal.docx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...

directory structure and file system mounting

  • 1. DIRECTORY STRUCTURE AND FILE SYSTEM MOUNTING IN OS M.Raj shree M.SC(IT) Nadar saraswathi college of arts&science
  • 2. Directory Structure  Directory structure provides both the above- discussed features. A directory always has information about the group of related files. Whenever a user or a process request for a file, the file system search for the file’s entry in the directory and when the match is found, it obtains the file’s location from there.  A directory is a container that is used to contain folders and file. It organizes files and folders into a hierarchical manner.
  • 3. Types of Directory Structures Single-level directory structure  Single level directory structure has only one directory which is called the root directory. The users are not allowed to create subdirectories under the root directory. All the files created by the several users are present in the root directory only.  Single level directory is simplest directory structure.In it all files are contained in same directory which make it easy to support and understand.
  • 4. Advantages  Since it is a single directory, so its implementation is very easy.  If the files are smaller in size, searching will become faster.  The operations like file creation, searching, deletion, updating are very easy in such a directory structure.
  • 6. Two-level directory structure  In Two-level directory structure, the users create directory directly inside the root directory. But once a user creates such directory, further he cannot create any subdirectory inside that directory  4 users have created their separate directory inside the root directory. But further, no subdirectory is created by the users.  This two-level structure allows each user to keep their files separately inside their own directory. This structure allows to use the same name for the files but under different user
  • 8. Hierarchical Directory Structure  In Hierarchical directory structure, the users can create directories under the root directory and can also create sub-directories under this structure. As the user is free to create many sub-directories, it can create different sub- directories for different file types.  Here, the files are accessed by their location using the path. There are two types of paths to locate the file in this directory structure
  • 9. Tree Directory Structure  In a tree directory structure, except root directory, every directory or file has only one parent directory. So, there is a total separation between the users which provide complete naming freedom. Here, if a user wishes to access another users file, it has to go through two or more directories.  The tree directory structure provides an asymmetric way for the user to access the shared files of a different user. For example, a user can access a file of its own user directory with a shorter path than the other user.
  • 11. Acyclic-Graph Directory Structure  An acyclic graph is a graph with no cycle and allows to share subdirectories and files. The same file or subdirectories may be in two different directories. It is a natural generalization of the tree-structured directory.  directory structure allows a directory or a file to have many parent directories. So, a shared file in a directory can be pointed by the other user directories who have access to that shared file using the links.
  • 12. File system mounting  Mounting is a process by which the operating system makes files and directories on a storage device (such as hard drive, CD-ROM, or network share) available for users to access via the computer's file system.  An opposite process of mounting is called unmounting, in which the operating system cuts off all user access to files and directories on the mount point, writes the remaining queue of user data to the storage device, refreshes file system metadata, then relinquishes access to the device; making the storage device safe for removal.
  • 13.  A mount point is a location in the partition used as a root filesystem  Many different types of storage exist, including magnetic, magneto-optical, optical, and semiconductor (solid-state) drives.  Each different filesystem provides the host operating system with metadata so that it knows how to read and write data.  When the medium (or media, when the filesystem is a volume filesystem as in RAID arrays) is mounted, these metadata are read by the operating system so that it can use
  • 14.  In order to access a filesystem in Linux you first need to mount it. Mounting a filesystem simply means making the particular filesystem accessible at a certain point in the Linux directory tree.  When mounting a filesystem it does not matter if the filesystem is a hard disk partition, CD- ROM, floppy, or USB storage device  Mounting is the attaching of an additional file system to the currently accessible file system of a computer.