SlideShare a Scribd company logo
1 of 15
Topic Outline
FILE SYSTEM DIRECTORY
File definition
File Systems and Disks
File Attributes
File types
File operations
Method of accessing file
Directory definition
Directory structures
Directory Operations
Information Elements of
a File Directory
04/16/171 abdalla ali khamis abdallalikha@gmail.com
File
2
A file is a named collection of related information
that is recorded on secondary storage(Abraham
Silberschatz).
Data files are numeric, alphabetic, alphanumeric,
or binary. Files may be free form like text files or
be formatted rigidly . r (Abraham Silberschatz)
04/16/17abdalla ali khamis abdallalikha@gmail.com
File Systems and Disks
3
User view is a named collection of data which are store
in secondary storage medium.
OS & file system view File is collection of disk blocks i.e.,
a container in which File System maps file names and offsets
to disk blocks
04/16/17abdalla ali khamis abdallalikha@gmail.com
File Attributes
4
Name.
Identifier.
Type.
Location.
Size.
Protection.
 Locks
Dates
04/16/17abdalla ali khamis abdallalikha@gmail.com
FILE TYPES
04/16/175 abdalla ali khamis abdallalikha@gmail.com
FILE OPERATIONS
6
 Creating a file
 Writing a file
 Reading a file.
 Repositioning within a file
 Deleting a file
 Truncating a file
04/16/17abdalla ali khamis abdallalikha@gmail.com
Methods for Accessing Files
Sequential access: Sequential access is the one in
which the record are access in the form of sequence
whereby read all bytes or records in order in which
read one record after the other from the beginning in
the file.
Random access: Random access in the one in which
the record can be read un any order.
Indexed sequential: Indexed sequential access is the
one in which file is access items in file based on the
contents of (part of) an item in the file.
04/16/177 abdalla ali khamis abdallalikha@gmail.com
Directory – A Special Kind of File
8
A tool for users & applications to organize and find
files
User-friendly names
Names that are meaningful over long periods of time
The data structure for OS to locate files (i.e.,
containers) on disk
04/16/17abdalla ali khamis abdallalikha@gmail.com
Directory structures
9
o Single level
One directory per system, one entry pointing to each file
Small, single-user or single-use systems
PDA, cell phone, etc.
o Two-level
Single “master” directory per system
Each entry points to one single-level directory per user
Uncommon in modern operating systems
o Hierarchical
Any directory entry may point to
Individual file
Another directory
Common in most modern operating systems
04/16/17abdalla ali khamis abdallalikha@gmail.com
Directory Operations
10
o Create:
Make a new directory
o Add, Delete entry:
o Invoked by file create & destroy, directory create & destroy
o Find, List:
o Search or enumerate directory entries
o Rename:
o Change name of an entry without changing anything else about it
o Link, Unlink:
o Add or remove entry pointing to another entry elsewhere
o Introduces possibility of loops in directory graph
o Destroy:
o Removes directory; must be empty
04/16/17abdalla ali khamis abdallalikha@gmail.com
Information Elements of a File
Directory: basic information
File Name:
This is a name as chosen by the creator of the file.
File Type:
A file type can be of the text type, binary, load module, and
many other types.
File Organization:
File organization is for systems that support different
organizations.
04/16/1711 abdalla ali khamis abdallalikha@gmail.com
Information Elements of a File
Directory: Address Information
o Volume:This component indicates a device on which
the file is stored
o Starting Address:This is a starting physical address
on secondary storage (for example: cylinder, track,
and block number on disk)
o Size Used:This is a current size of the file. It can be
measured in bytes, words, or blocks.
o Size Allocated:This is the maximum size a file can
have.
04/16/1712 abdalla ali khamis abdallalikha@gmail.com
Information Elements of a File
directory: access control information
Owner:
This is a user who is assigned control of the file. The
owner may be able to grant or deny access (to the file)
to other users and to change these privileges.
Access Information:
A simple version of this element would include the
user’s name and password for each authorized user.
Permitted Actions:
This is for controlling reading, writing, executing, and
transmitting over a network.
04/16/1713 abdalla ali khamis abdallalikha@gmail.com
Information Elements of a File
Directory: usage information
o Date Created
o Identity of Creator
o Date Last Read Access
o Identity of Last Reader
o Date Last Modified
o Identity of Last Modifier
o Date of Last Backup
o Current Usage:
04/16/1714 abdalla ali khamis abdallalikha@gmail.com
Study Questions
1. Why do some systems keep track of the type of a file,
while others leave it to the user or simply do not
implement multiple file types?
2. Explain the purpose of the open and close operations.
3. List advantages and advantages of operating system
“knowing” and supporting many file types
4. Why would we want a subdirectory in our account?
04/16/1715 abdalla ali khamis abdallalikha@gmail.com

More Related Content

What's hot

What's hot (20)

Ch11
Ch11Ch11
Ch11
 
File Management
File ManagementFile Management
File Management
 
File system structure
File system structureFile system structure
File system structure
 
Files concepts.53
Files concepts.53Files concepts.53
Files concepts.53
 
Lecture #1 Introduction
Lecture #1 IntroductionLecture #1 Introduction
Lecture #1 Introduction
 
File organization
File organizationFile organization
File organization
 
Degonto file management
Degonto file managementDegonto file management
Degonto file management
 
File structures
File structuresFile structures
File structures
 
Sql server lesson3
Sql server lesson3Sql server lesson3
Sql server lesson3
 
Switching & Multiplexing
Switching & MultiplexingSwitching & Multiplexing
Switching & Multiplexing
 
OPERATING SYSTEM
OPERATING SYSTEMOPERATING SYSTEM
OPERATING SYSTEM
 
Operating system file system
Operating system file systemOperating system file system
Operating system file system
 
File and directory
File and directoryFile and directory
File and directory
 
File system Os
File system OsFile system Os
File system Os
 
File handling in qbasic
File handling in qbasicFile handling in qbasic
File handling in qbasic
 
File system interface
File system interfaceFile system interface
File system interface
 
Files
FilesFiles
Files
 
File organisation
File organisationFile organisation
File organisation
 
Disk structure & File Handling
Disk structure & File HandlingDisk structure & File Handling
Disk structure & File Handling
 
The windows hierarchy
The windows hierarchyThe windows hierarchy
The windows hierarchy
 

Similar to Introduction to file systems

file management_osnotes.ppt
file management_osnotes.pptfile management_osnotes.ppt
file management_osnotes.pptHelalMirzad
 
File System Interface
File System InterfaceFile System Interface
File System Interfacechandinisanz
 
Chapter 10 - File System Interface
Chapter 10 - File System InterfaceChapter 10 - File System Interface
Chapter 10 - File System InterfaceWayne Jones Jnr
 
Learn about the File Concept in operating systems ppt
Learn about the File Concept in operating systems pptLearn about the File Concept in operating systems ppt
Learn about the File Concept in operating systems pptgeethasenthil2706
 
Operating System File Management Unit v.pptx
Operating System File Management Unit v.pptxOperating System File Management Unit v.pptx
Operating System File Management Unit v.pptxSanthiNivas
 
Unit 3 file management
Unit 3 file managementUnit 3 file management
Unit 3 file managementKalai Selvi
 
Ch11 OS
Ch11 OSCh11 OS
Ch11 OSC.U
 
Chapter 2 Linux File System and net.pptx
Chapter 2 Linux File System and net.pptxChapter 2 Linux File System and net.pptx
Chapter 2 Linux File System and net.pptxalehegn9
 
Degonto, File management system in fisheries science
Degonto, File management  system in fisheries scienceDegonto, File management  system in fisheries science
Degonto, File management system in fisheries scienceDegonto Islam
 
Unix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell ScriptUnix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell Scriptsbmguys
 
Unit ivos - file systems
Unit ivos - file systemsUnit ivos - file systems
Unit ivos - file systemsdonny101
 
File concept and access method
File concept and access methodFile concept and access method
File concept and access methodrajshreemuthiah
 
Os10 2
Os10 2Os10 2
Os10 2issbp
 

Similar to Introduction to file systems (20)

file management_osnotes.ppt
file management_osnotes.pptfile management_osnotes.ppt
file management_osnotes.ppt
 
Chapter 12.pptx
Chapter 12.pptxChapter 12.pptx
Chapter 12.pptx
 
File System Interface
File System InterfaceFile System Interface
File System Interface
 
Chapter 10 - File System Interface
Chapter 10 - File System InterfaceChapter 10 - File System Interface
Chapter 10 - File System Interface
 
Learn about the File Concept in operating systems ppt
Learn about the File Concept in operating systems pptLearn about the File Concept in operating systems ppt
Learn about the File Concept in operating systems ppt
 
Operating System File Management Unit v.pptx
Operating System File Management Unit v.pptxOperating System File Management Unit v.pptx
Operating System File Management Unit v.pptx
 
CH11.pdf
CH11.pdfCH11.pdf
CH11.pdf
 
Unit 3 file management
Unit 3 file managementUnit 3 file management
Unit 3 file management
 
Ch11 OS
Ch11 OSCh11 OS
Ch11 OS
 
OSCh11
OSCh11OSCh11
OSCh11
 
OS_Ch11
OS_Ch11OS_Ch11
OS_Ch11
 
Chapter 2 Linux File System and net.pptx
Chapter 2 Linux File System and net.pptxChapter 2 Linux File System and net.pptx
Chapter 2 Linux File System and net.pptx
 
Degonto, File management system in fisheries science
Degonto, File management  system in fisheries scienceDegonto, File management  system in fisheries science
Degonto, File management system in fisheries science
 
Unix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell ScriptUnix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell Script
 
FILE MANAGEMENT.pptx
FILE MANAGEMENT.pptxFILE MANAGEMENT.pptx
FILE MANAGEMENT.pptx
 
File Management System in Shell Script.pptx
File Management System in Shell Script.pptxFile Management System in Shell Script.pptx
File Management System in Shell Script.pptx
 
Unit ivos - file systems
Unit ivos - file systemsUnit ivos - file systems
Unit ivos - file systems
 
File concept and access method
File concept and access methodFile concept and access method
File concept and access method
 
Os10 2
Os10 2Os10 2
Os10 2
 
OS Unit IV.ppt
OS Unit IV.pptOS Unit IV.ppt
OS Unit IV.ppt
 

Recently uploaded

Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...software pro Development
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...kalichargn70th171
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 

Recently uploaded (20)

Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 

Introduction to file systems

  • 1. Topic Outline FILE SYSTEM DIRECTORY File definition File Systems and Disks File Attributes File types File operations Method of accessing file Directory definition Directory structures Directory Operations Information Elements of a File Directory 04/16/171 abdalla ali khamis abdallalikha@gmail.com
  • 2. File 2 A file is a named collection of related information that is recorded on secondary storage(Abraham Silberschatz). Data files are numeric, alphabetic, alphanumeric, or binary. Files may be free form like text files or be formatted rigidly . r (Abraham Silberschatz) 04/16/17abdalla ali khamis abdallalikha@gmail.com
  • 3. File Systems and Disks 3 User view is a named collection of data which are store in secondary storage medium. OS & file system view File is collection of disk blocks i.e., a container in which File System maps file names and offsets to disk blocks 04/16/17abdalla ali khamis abdallalikha@gmail.com
  • 5. FILE TYPES 04/16/175 abdalla ali khamis abdallalikha@gmail.com
  • 6. FILE OPERATIONS 6  Creating a file  Writing a file  Reading a file.  Repositioning within a file  Deleting a file  Truncating a file 04/16/17abdalla ali khamis abdallalikha@gmail.com
  • 7. Methods for Accessing Files Sequential access: Sequential access is the one in which the record are access in the form of sequence whereby read all bytes or records in order in which read one record after the other from the beginning in the file. Random access: Random access in the one in which the record can be read un any order. Indexed sequential: Indexed sequential access is the one in which file is access items in file based on the contents of (part of) an item in the file. 04/16/177 abdalla ali khamis abdallalikha@gmail.com
  • 8. Directory – A Special Kind of File 8 A tool for users & applications to organize and find files User-friendly names Names that are meaningful over long periods of time The data structure for OS to locate files (i.e., containers) on disk 04/16/17abdalla ali khamis abdallalikha@gmail.com
  • 9. Directory structures 9 o Single level One directory per system, one entry pointing to each file Small, single-user or single-use systems PDA, cell phone, etc. o Two-level Single “master” directory per system Each entry points to one single-level directory per user Uncommon in modern operating systems o Hierarchical Any directory entry may point to Individual file Another directory Common in most modern operating systems 04/16/17abdalla ali khamis abdallalikha@gmail.com
  • 10. Directory Operations 10 o Create: Make a new directory o Add, Delete entry: o Invoked by file create & destroy, directory create & destroy o Find, List: o Search or enumerate directory entries o Rename: o Change name of an entry without changing anything else about it o Link, Unlink: o Add or remove entry pointing to another entry elsewhere o Introduces possibility of loops in directory graph o Destroy: o Removes directory; must be empty 04/16/17abdalla ali khamis abdallalikha@gmail.com
  • 11. Information Elements of a File Directory: basic information File Name: This is a name as chosen by the creator of the file. File Type: A file type can be of the text type, binary, load module, and many other types. File Organization: File organization is for systems that support different organizations. 04/16/1711 abdalla ali khamis abdallalikha@gmail.com
  • 12. Information Elements of a File Directory: Address Information o Volume:This component indicates a device on which the file is stored o Starting Address:This is a starting physical address on secondary storage (for example: cylinder, track, and block number on disk) o Size Used:This is a current size of the file. It can be measured in bytes, words, or blocks. o Size Allocated:This is the maximum size a file can have. 04/16/1712 abdalla ali khamis abdallalikha@gmail.com
  • 13. Information Elements of a File directory: access control information Owner: This is a user who is assigned control of the file. The owner may be able to grant or deny access (to the file) to other users and to change these privileges. Access Information: A simple version of this element would include the user’s name and password for each authorized user. Permitted Actions: This is for controlling reading, writing, executing, and transmitting over a network. 04/16/1713 abdalla ali khamis abdallalikha@gmail.com
  • 14. Information Elements of a File Directory: usage information o Date Created o Identity of Creator o Date Last Read Access o Identity of Last Reader o Date Last Modified o Identity of Last Modifier o Date of Last Backup o Current Usage: 04/16/1714 abdalla ali khamis abdallalikha@gmail.com
  • 15. Study Questions 1. Why do some systems keep track of the type of a file, while others leave it to the user or simply do not implement multiple file types? 2. Explain the purpose of the open and close operations. 3. List advantages and advantages of operating system “knowing” and supporting many file types 4. Why would we want a subdirectory in our account? 04/16/1715 abdalla ali khamis abdallalikha@gmail.com