SlideShare a Scribd company logo
Sir Kashif
Lecture 2: File
Management
 provides the file abstraction for data storage

guarantees data validity (most of the time)

performance: throughput and response time
 enforces protection
 File Concept
 Access Methods
 Directory Structure
 File-System Mounting //skip
 File Sharing //skip
 Protection
 None - sequence of words, bytes
 Simple record structure
◦ Lines
◦ Fixed length
◦ Variable length
 Complex Structures
◦ Formatted document
◦ Relocatable load file
 Can simulate last two with first method by inserting
appropriate control characters
 Who decides:
◦ Operating system
◦ Program
 Name – only information kept in human-readable form
 Identifier – unique tag (number) identifies file within file system
 Type – needed for systems that support different types
 Location – pointer to file location on device
 Size – current file size
 Protection – controls who can do reading, writing, executing
 Time, date, and user identification – data for protection,
security, and usage monitoring
 Information about files are kept in the directory structure, which is
maintained on the disk
 Create
 Write
 Read
 Reposition within file
 Delete
 Truncate //roundup/skip#
 Open(Fi) –open read/write session for Fi
◦ File pointer: pointer to last read/write location,
 Close (Fi) – close read/write session
 Set of files
 Used to organize files
 Translates external file names to internal file
names (file labels, i-nodes, file control blocks)
 Treated as a file but with special operations
 Search for a file
 Create a file
 Delete a file
 List a directory
 Rename a file
 Traverse the file system
 Efficiency – locating a file quickly
 Naming – convenient to users
◦ Two users can have same name for different files
◦ The same file can have several different names
 Grouping – logical grouping of files by
properties, (e.g., all Java programs, all
games, …)
 Sharing of files on multi-user systems is desirable
 Sharing may be done through a protection scheme
 On distributed systems, files may be shared across a
network
 Network File System (NFS) is a common distributed file-
sharing method
 User IDs identify users, allowing
permissions and protections to be per-user
 Group IDs allow users to be in groups,
permitting group access rights
 File owner/creator should be able to control:
◦ what can be done
◦ by whom
 Types of access
◦ Read
◦ Write
◦ Execute
◦ Append
◦ Delete
◦ List
•File Allocation
Protection Mechanisms
File Management

More Related Content

PPTX
File concept and access method
PPTX
File Protection-R.D.Sivakumar
PDF
File system in operating system e learning
PPT
Operating System
PPTX
Model of file system
PPT
Unit 3 chapter 1-file management
PPTX
File Protection
PPTX
Operating system file system
File concept and access method
File Protection-R.D.Sivakumar
File system in operating system e learning
Operating System
Model of file system
Unit 3 chapter 1-file management
File Protection
Operating system file system

What's hot (19)

PPTX
File Directory Structure-R.D.Sivakumar
PPTX
FILE SYSTEMS IN WINDOWS OPERATING SYSTEMS
PDF
Ch10 file system interface
PPTX
File Management – File Concept, access methods, File types and File Operation
PPTX
Introduction to File System
PDF
File structure
PDF
Cyber security
PPTX
Types of files
PPTX
File System in Operating System
PDF
File systems linux class 8
PPSX
File system security
PPSX
Unit 4 File and Data Management
PPSX
Unit 4 file and data management
PPTX
Licão 04 permissions
PPT
File protection.59 to 60
PPT
Files concepts.53
PPTX
physical file system in operating system
PPT
OPERATING SYSTEM
PPTX
File Management
File Directory Structure-R.D.Sivakumar
FILE SYSTEMS IN WINDOWS OPERATING SYSTEMS
Ch10 file system interface
File Management – File Concept, access methods, File types and File Operation
Introduction to File System
File structure
Cyber security
Types of files
File System in Operating System
File systems linux class 8
File system security
Unit 4 File and Data Management
Unit 4 file and data management
Licão 04 permissions
File protection.59 to 60
Files concepts.53
physical file system in operating system
OPERATING SYSTEM
File Management
Ad

Viewers also liked (18)

PPTX
Intro to Javascript
PDF
Seo tutorial
PPTX
HISTORY OF ARCHITECTURE
PPTX
Website Networking
PDF
Introduction to php
PPTX
PPT
Body area-networks
PPT
Input and Output Devices and Systems
PPTX
Android os
DOC
crisis-in-textile-industry
PPT
Introduction to Excel
PPT
Getting started with Adobe Photoshop 7.0
PPTX
Woods Of Pakistan
PPTX
Genetic engineering
PPT
Introduction to Computer Applications
PPTX
Masnoon Duaa'en
PPTX
Surah-e-Fatiha
PPTX
Makharij
Intro to Javascript
Seo tutorial
HISTORY OF ARCHITECTURE
Website Networking
Introduction to php
Body area-networks
Input and Output Devices and Systems
Android os
crisis-in-textile-industry
Introduction to Excel
Getting started with Adobe Photoshop 7.0
Woods Of Pakistan
Genetic engineering
Introduction to Computer Applications
Masnoon Duaa'en
Surah-e-Fatiha
Makharij
Ad

Similar to File Management (20)

PPT
file management_osnotes.ppt
PPTX
Filesth file handling in language dile
PPT
os unit-5-part2.ppt,Disk management file
PPT
Chapter 10 - File System Interface
PPT
Unit 3 file management
PDF
CH11.pdf
PPT
PPTX
The Operating System concepts.. -os.pptx
PPT
PPT
Ch11 OS
 
PPT
PPTX
Distributed file system
PPTX
file_concept.pptx file presentation directories
PPTX
Learn about the File Concept in operating systems ppt
PPTX
file_concept.pptx file presentation directories
PPTX
Unit 6 OSY.pptx aaaaaaaaaaaaaaaaaaaaaaaa
PPTX
FUNDAMENTALS OF ENGINEERING WITH MACHINE LEARNING AND ARTIFICIAL INTELLIGENCE
PPTX
File management
file management_osnotes.ppt
Filesth file handling in language dile
os unit-5-part2.ppt,Disk management file
Chapter 10 - File System Interface
Unit 3 file management
CH11.pdf
The Operating System concepts.. -os.pptx
Ch11 OS
 
Distributed file system
file_concept.pptx file presentation directories
Learn about the File Concept in operating systems ppt
file_concept.pptx file presentation directories
Unit 6 OSY.pptx aaaaaaaaaaaaaaaaaaaaaaaa
FUNDAMENTALS OF ENGINEERING WITH MACHINE LEARNING AND ARTIFICIAL INTELLIGENCE
File management

Recently uploaded (20)

PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Pre independence Education in Inndia.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Classroom Observation Tools for Teachers
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Institutional Correction lecture only . . .
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Cell Types and Its function , kingdom of life
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Renaissance Architecture: A Journey from Faith to Humanism
TR - Agricultural Crops Production NC III.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
VCE English Exam - Section C Student Revision Booklet
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Pre independence Education in Inndia.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Classroom Observation Tools for Teachers
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
2.FourierTransform-ShortQuestionswithAnswers.pdf
Anesthesia in Laparoscopic Surgery in India
Module 4: Burden of Disease Tutorial Slides S2 2025
Institutional Correction lecture only . . .
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Cell Types and Its function , kingdom of life
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Microbial diseases, their pathogenesis and prophylaxis
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES

File Management

  • 1. Sir Kashif Lecture 2: File Management
  • 2.  provides the file abstraction for data storage  guarantees data validity (most of the time)  performance: throughput and response time  enforces protection
  • 3.  File Concept  Access Methods  Directory Structure  File-System Mounting //skip  File Sharing //skip  Protection
  • 4.  None - sequence of words, bytes  Simple record structure ◦ Lines ◦ Fixed length ◦ Variable length  Complex Structures ◦ Formatted document ◦ Relocatable load file  Can simulate last two with first method by inserting appropriate control characters  Who decides: ◦ Operating system ◦ Program
  • 5.  Name – only information kept in human-readable form  Identifier – unique tag (number) identifies file within file system  Type – needed for systems that support different types  Location – pointer to file location on device  Size – current file size  Protection – controls who can do reading, writing, executing  Time, date, and user identification – data for protection, security, and usage monitoring  Information about files are kept in the directory structure, which is maintained on the disk
  • 6.  Create  Write  Read  Reposition within file  Delete  Truncate //roundup/skip#  Open(Fi) –open read/write session for Fi ◦ File pointer: pointer to last read/write location,  Close (Fi) – close read/write session
  • 7.  Set of files  Used to organize files  Translates external file names to internal file names (file labels, i-nodes, file control blocks)  Treated as a file but with special operations
  • 8.  Search for a file  Create a file  Delete a file  List a directory  Rename a file  Traverse the file system
  • 9.  Efficiency – locating a file quickly  Naming – convenient to users ◦ Two users can have same name for different files ◦ The same file can have several different names  Grouping – logical grouping of files by properties, (e.g., all Java programs, all games, …)
  • 10.  Sharing of files on multi-user systems is desirable  Sharing may be done through a protection scheme  On distributed systems, files may be shared across a network  Network File System (NFS) is a common distributed file- sharing method
  • 11.  User IDs identify users, allowing permissions and protections to be per-user  Group IDs allow users to be in groups, permitting group access rights
  • 12.  File owner/creator should be able to control: ◦ what can be done ◦ by whom  Types of access ◦ Read ◦ Write ◦ Execute ◦ Append ◦ Delete ◦ List

Editor's Notes

  • #13: A read-only file is any file with the read-only attribute turned on. Some common files that are read-only by default in Windows include boot.ini, io.sys, msdos.sys and others. Append: In general, to append is to join or add on to the end of something. For example, an appendix is a section appended (added to the end) of a document. (append '(1 2 3) '(a b) '() '(6)) ;Output: (1 2 3 a b 6)