Chapter-5- File System_104436
Chapter-5- File System_104436
Outline
2
Introduction
Fundamental concepts on file
► Data and meta data
► Operations, organization and buffering in file
► Sequential Vs Consequential data
► Content and structure of directories
File system techniques
► Partitioning
► Mounting and unmounting
► Virtual file system
► Memory-mapped files
Special purpose file systems
► Naming, searching and backup strategies
Introduction
3
A File system:
►It is a method used by OS and computer programs to
organize and store data on storage devices such as
HDDs, SSDs, flash drives, and optical discs.
►It provides a structured way to store, retrieve, and
manage files and directories
►Enabling users and programs to access data
efficiently.
Introduction (cont’d)
4
► Developed by Microsoft
OSs.
► It offers features like file compression, encryption,
Data
►Data is a set of facts and statistics that can be operated,
referred or analyzed
►It can simply be a piece of information, for example a
Meta Data
►Metadata is a data about data
Opening Files:
►It involves identifying the file by its name or path
medium.
► Write operations can append data to the end of the file,
Closing Files:
►Releases system resources associated with the file
file system
►Renaming a file involves changing its name without
Copying Files:
►Creates a duplicate of the original file with the same
by system administrators
Searching Files:
►It involves locating files within the file system based on
applications.
File operation (cont’d)
21
Sequential:
► Records are stored in a specific order
►Often used in application that involve large volume of
► Creating Directories
► Listing directory Contents
► Navigating directories
► Accessing directory Properties
► Modifying directories
► Deleting directories
► Searching directories
► Moving and copying directories
► Access control
Content and structure of directories
27
Creating:
►Users and programs can create new directories within the
file system
►Involves specifying a name for the new directory and its
within them.
►Provides users with information about the files and
Navigating:
► Moving between parent and child directories to access
Deleting:
►Frees up storage space and removes them from the file
system hierarchy
Searching
►Helps users find files and directories within the file system
efficiently.
Moving and Copying:
►Moving directories changes their location while preserving
their contents
►Copying directories creates duplicates of the original
directories
Content and structure of directories
30
Access Control:
►Used to regulate who can view, modify, or delete them
Mounting
►The process of making a file available for access
storage devices
► Simplified file system management
Examples
► Linux Virtual File Systems (VFS)
► Compression
► Remote access
► Clustering
► Performance optimization
► Compatibility
Naming, Searching and Access
44
Naming
► Assigning unique name to a file or directory
► Name : used to identify and locate the file or directory
Searching
► Finding file or directory that match a particular search
criteria or query
► File system search capabilities are vary depending on OS
Access
► Ability to read, write, execute files and directories
► Managed using file permission
data
v. Automate backup
► Use automation tools to schedule backups and ensure
backups are performed regularly and consistently
Backup Strategies
49
r 5
p te
h a
f C
d o
E n