SlideShare a Scribd company logo
FILE SYSTEMS
FILE
A file is the common storage unit in a computer.
A folder holds one or more files, and it can be
empty with just a name.
FILE IN COMPUTER TERMS
Files are the logical unit of information created
by the process.
Information present in the file must be
Persistent (i.e.) not affected by process creation
and termination.
FILE NAMING
A file is named for the convenience of the users.
Whenever process creates a file, it gives file a
name. When the process terminates the file
continues to exist and can be accessed by other
process.
In UNIX OS File System the file names are Case
sensitive. (i.e.) Ram, ram, RAM are different files.
FILE NAMING
But in MS DOS and other Windows OS ram,
RAM, ram are same.
In MS DOS OS file names are upto 8 Characters
and the extension is upto 1-3 characters.
FILE EXTENSION
All the OS aware of the extensions and the
assigning meaning is very important.
When a user Double click a file name first the OS
see the name of the extension and loads the
corresponding application.
(For Ex) if it is Sam.doc it loads MS Office
application.
FILE EXTENSION
FILE ATTRIBUTES
FILE ATTRIBUTES
FILE ATTRIBUTES
FILE ATTRIBUTES
The File Attributes vary from one OS to another
but these attributes are common for all OS.
1) Name: File Name Human Readable Format.
2) Type: What the name of the file system (i.e.)
doc, text, xls,mp3.
3) Location: To know where the file is stored.
4) Size: To know the size in terms of Bytes.
FILE ATTRIBUTES
5) Protection: It determines who can execute,
read and write the corresponding file.
6) Time Date and User Information like Last
Accessed time, Last Modified time etc.
FILE OPERATIONS
FILE OPERATIONS
1) Create The file is created with no data.
2) Delete When the file is no longer needed, it
has to be deleted to free up disk space.
3) Open Before using a file, a process must open
it.
4) Close When all the accesses are finished, the
attributes and disk addresses are no longer
needed.
FILE OPERATIONS
5) Read Data are read from file.
6) Write Data are written to the file again,
usually at the current position. If the current
position is the end of the file, the file's size
increases.
7) Append This call is a restricted form of write.
It can only add data to the end of the file.
FILE OPERATIONS
8) Rename It frequently happens that a user
needs to change the name of an existing file.
9) Seek For random access files, a method is
needed to specify from where to take the data.
10) Get attributes Modification times of all the
source and object files.
FILE OPERATIONS
11) Set attributes Some of the attributes are
user settable and can be changed after the file
has been created.
(Ex) The protection mode information.
Read Only, Password Protection, Hidden Mode
FILE ACCESS
The contents stored in the file, If the user wants
to access the file it can accessed either by
Sequential, Random or Direct Access.
FILE ACCESS
1) Sequential access
In these systems, a process could read all the
bytes or records in a file in order, starting at the
beginning, but could not skip around and read
them out of order.
FILE ACCESS
2)Random Access
When disks came into use for storing files,
it became possible to read the bytes or records
of a file out of order, or to access records by key
rather than by position. Files whose bytes or
records can be read in any order are called
random access files.
FILE ACCESS
(Ex of Random Access)
If an airline customer calls up and wants to
reserve a seat on a particular flight, the
reservation program must be able to access the
record for that flight without having to read the
records for thousands of other flights first.

More Related Content

What's hot

File System Implementation
File System ImplementationFile System Implementation
File System Implementation
Abhishek Pachisia
 
Linux course fhs file hierarchy standard
Linux   course   fhs file hierarchy standardLinux   course   fhs file hierarchy standard
Linux course fhs file hierarchy standard
Khawar Nehal khawar.nehal@atrc.net.pk
 
File System Interface
File System InterfaceFile System Interface
File System Interface
chandinisanz
 
File system
File systemFile system
File system
Mohd Arif
 
Files
FilesFiles
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
tittuajay
 
Files concepts.53
Files concepts.53Files concepts.53
Files concepts.53
myrajendra
 
Operating system file system
Operating system file systemOperating system file system
Operating system file system
Anil Pokhrel
 
File system
File systemFile system
File system
sonu riyana
 
ITFT_File system interface in Operating System
ITFT_File system interface in Operating SystemITFT_File system interface in Operating System
ITFT_File system interface in Operating System
Sneh Prabha
 
Operating Systems - Implementing File Systems
Operating Systems - Implementing File SystemsOperating Systems - Implementing File Systems
Operating Systems - Implementing File Systems
Mukesh Chinta
 
File Directory Structure-R.D.Sivakumar
File Directory Structure-R.D.SivakumarFile Directory Structure-R.D.Sivakumar
File Directory Structure-R.D.Sivakumar
Sivakumar R D .
 
File Management
File ManagementFile Management
File Management
insanmisteri111
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating System
Janki Shah
 
File management
File managementFile management
File management
Mohd Arif
 
Linux and windows file system
Linux and windows  file systemLinux and windows  file system
Linux and windows file system
lin yucheng
 
File Protection
File ProtectionFile Protection
File Protection
KRITI KATYAYAN
 
File System Implementation - Part1
File System Implementation - Part1File System Implementation - Part1
File System Implementation - Part1
Amir Payberah
 
File system.
File system.File system.
File system.
elyza12
 
OSCh11
OSCh11OSCh11

What's hot (20)

File System Implementation
File System ImplementationFile System Implementation
File System Implementation
 
Linux course fhs file hierarchy standard
Linux   course   fhs file hierarchy standardLinux   course   fhs file hierarchy standard
Linux course fhs file hierarchy standard
 
File System Interface
File System InterfaceFile System Interface
File System Interface
 
File system
File systemFile system
File system
 
Files
FilesFiles
Files
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
 
Files concepts.53
Files concepts.53Files concepts.53
Files concepts.53
 
Operating system file system
Operating system file systemOperating system file system
Operating system file system
 
File system
File systemFile system
File system
 
ITFT_File system interface in Operating System
ITFT_File system interface in Operating SystemITFT_File system interface in Operating System
ITFT_File system interface in Operating System
 
Operating Systems - Implementing File Systems
Operating Systems - Implementing File SystemsOperating Systems - Implementing File Systems
Operating Systems - Implementing File Systems
 
File Directory Structure-R.D.Sivakumar
File Directory Structure-R.D.SivakumarFile Directory Structure-R.D.Sivakumar
File Directory Structure-R.D.Sivakumar
 
File Management
File ManagementFile Management
File Management
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating System
 
File management
File managementFile management
File management
 
Linux and windows file system
Linux and windows  file systemLinux and windows  file system
Linux and windows file system
 
File Protection
File ProtectionFile Protection
File Protection
 
File System Implementation - Part1
File System Implementation - Part1File System Implementation - Part1
File System Implementation - Part1
 
File system.
File system.File system.
File system.
 
OSCh11
OSCh11OSCh11
OSCh11
 

Similar to FILE SYSTEMS IN WINDOWS OPERATING SYSTEMS

File system
File systemFile system
File system
Didar Hussain
 
File and fat 2
File and fat 2File and fat 2
File and fat 2
Vimal Madhale
 
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
geethasenthil2706
 
File and fat
File and fatFile and fat
File and fat
Vimal Madhale
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
Ankit Dubey
 
File concept and access method
File concept and access methodFile concept and access method
File concept and access method
rajshreemuthiah
 
file management_osnotes.ppt
file management_osnotes.pptfile management_osnotes.ppt
file management_osnotes.ppt
HelalMirzad
 
Chapter 10 - File System Interface
Chapter 10 - File System InterfaceChapter 10 - File System Interface
Chapter 10 - File System Interface
Wayne Jones Jnr
 
Unit 3 file management
Unit 3 file managementUnit 3 file management
Unit 3 file management
Kalai Selvi
 
CH11.pdf
CH11.pdfCH11.pdf
CH11.pdf
ImranKhan880955
 
Unit 3 chapter 1-file management
Unit 3 chapter 1-file managementUnit 3 chapter 1-file management
Unit 3 chapter 1-file management
Kalai Selvi
 
OPERATING SYSTEM
OPERATING SYSTEMOPERATING SYSTEM
OPERATING SYSTEM
RubaNagarajan
 
FILE MANAGEMENT.pptx
FILE MANAGEMENT.pptxFILE MANAGEMENT.pptx
FILE MANAGEMENT.pptx
jayashri kolekar
 
File system security
File system securityFile system security
File system security
AmmAr mobark
 
File system interface
File system interfaceFile system interface
File system interface
Dayan Ahmed
 
Understanding operating systems 5th ed ch08
Understanding operating systems 5th ed ch08Understanding operating systems 5th ed ch08
Understanding operating systems 5th ed ch08
BarrBoy
 
File management
File managementFile management
File management
sangrampatil81
 
OS_Ch11
OS_Ch11OS_Ch11
Ch11 OS
Ch11 OSCh11 OS
Ch11 OS
C.U
 
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
SanthiNivas
 

Similar to FILE SYSTEMS IN WINDOWS OPERATING SYSTEMS (20)

File system
File systemFile system
File system
 
File and fat 2
File and fat 2File and fat 2
File and fat 2
 
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
 
File and fat
File and fatFile and fat
File and fat
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
File concept and access method
File concept and access methodFile concept and access method
File concept and access method
 
file management_osnotes.ppt
file management_osnotes.pptfile management_osnotes.ppt
file management_osnotes.ppt
 
Chapter 10 - File System Interface
Chapter 10 - File System InterfaceChapter 10 - File System Interface
Chapter 10 - File System Interface
 
Unit 3 file management
Unit 3 file managementUnit 3 file management
Unit 3 file management
 
CH11.pdf
CH11.pdfCH11.pdf
CH11.pdf
 
Unit 3 chapter 1-file management
Unit 3 chapter 1-file managementUnit 3 chapter 1-file management
Unit 3 chapter 1-file management
 
OPERATING SYSTEM
OPERATING SYSTEMOPERATING SYSTEM
OPERATING SYSTEM
 
FILE MANAGEMENT.pptx
FILE MANAGEMENT.pptxFILE MANAGEMENT.pptx
FILE MANAGEMENT.pptx
 
File system security
File system securityFile system security
File system security
 
File system interface
File system interfaceFile system interface
File system interface
 
Understanding operating systems 5th ed ch08
Understanding operating systems 5th ed ch08Understanding operating systems 5th ed ch08
Understanding operating systems 5th ed ch08
 
File management
File managementFile management
File management
 
OS_Ch11
OS_Ch11OS_Ch11
OS_Ch11
 
Ch11 OS
Ch11 OSCh11 OS
Ch11 OS
 
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
 

More from KABILESH RAMAR

Online i os
Online i osOnline i os
Online i os
KABILESH RAMAR
 
Linux and windows
Linux and windowsLinux and windows
Linux and windows
KABILESH RAMAR
 
Android os versions and architecture
Android os versions and architectureAndroid os versions and architecture
Android os versions and architecture
KABILESH RAMAR
 
Turtle Graphics in CG
Turtle Graphics in CGTurtle Graphics in CG
Turtle Graphics in CG
KABILESH RAMAR
 
Ray Tracing in Computer Graphics
Ray Tracing in Computer GraphicsRay Tracing in Computer Graphics
Ray Tracing in Computer Graphics
KABILESH RAMAR
 
Email security
Email securityEmail security
Email security
KABILESH RAMAR
 
Visible surface detection methods
Visible surface detection methodsVisible surface detection methods
Visible surface detection methods
KABILESH RAMAR
 
Raster scan and random scan
Raster scan and random scanRaster scan and random scan
Raster scan and random scan
KABILESH RAMAR
 
Properties of light
Properties of lightProperties of light
Properties of light
KABILESH RAMAR
 
Polygon mesh
Polygon meshPolygon mesh
Polygon mesh
KABILESH RAMAR
 
Liquid crystal display
Liquid crystal displayLiquid crystal display
Liquid crystal display
KABILESH RAMAR
 
Ink jet printer
Ink jet printerInk jet printer
Ink jet printer
KABILESH RAMAR
 
Illumination models
Illumination modelsIllumination models
Illumination models
KABILESH RAMAR
 
Dot matrix printers
Dot matrix printersDot matrix printers
Dot matrix printers
KABILESH RAMAR
 
Cathode ray tubes
Cathode ray tubesCathode ray tubes
Cathode ray tubes
KABILESH RAMAR
 
NEAR FIELD COMMUNICATION
NEAR FIELD COMMUNICATIONNEAR FIELD COMMUNICATION
NEAR FIELD COMMUNICATION
KABILESH RAMAR
 
RFID
RFIDRFID
Digital libraries
Digital librariesDigital libraries
Digital libraries
KABILESH RAMAR
 
Covert networks
Covert networksCovert networks
Covert networks
KABILESH RAMAR
 
Ethernet
EthernetEthernet
Ethernet
KABILESH RAMAR
 

More from KABILESH RAMAR (20)

Online i os
Online i osOnline i os
Online i os
 
Linux and windows
Linux and windowsLinux and windows
Linux and windows
 
Android os versions and architecture
Android os versions and architectureAndroid os versions and architecture
Android os versions and architecture
 
Turtle Graphics in CG
Turtle Graphics in CGTurtle Graphics in CG
Turtle Graphics in CG
 
Ray Tracing in Computer Graphics
Ray Tracing in Computer GraphicsRay Tracing in Computer Graphics
Ray Tracing in Computer Graphics
 
Email security
Email securityEmail security
Email security
 
Visible surface detection methods
Visible surface detection methodsVisible surface detection methods
Visible surface detection methods
 
Raster scan and random scan
Raster scan and random scanRaster scan and random scan
Raster scan and random scan
 
Properties of light
Properties of lightProperties of light
Properties of light
 
Polygon mesh
Polygon meshPolygon mesh
Polygon mesh
 
Liquid crystal display
Liquid crystal displayLiquid crystal display
Liquid crystal display
 
Ink jet printer
Ink jet printerInk jet printer
Ink jet printer
 
Illumination models
Illumination modelsIllumination models
Illumination models
 
Dot matrix printers
Dot matrix printersDot matrix printers
Dot matrix printers
 
Cathode ray tubes
Cathode ray tubesCathode ray tubes
Cathode ray tubes
 
NEAR FIELD COMMUNICATION
NEAR FIELD COMMUNICATIONNEAR FIELD COMMUNICATION
NEAR FIELD COMMUNICATION
 
RFID
RFIDRFID
RFID
 
Digital libraries
Digital librariesDigital libraries
Digital libraries
 
Covert networks
Covert networksCovert networks
Covert networks
 
Ethernet
EthernetEthernet
Ethernet
 

Recently uploaded

Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
Madan Karki
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
People as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimalaPeople as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimala
riddhimaagrawal986
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 

Recently uploaded (20)

Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
People as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimalaPeople as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimala
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 

FILE SYSTEMS IN WINDOWS OPERATING SYSTEMS

  • 2. FILE A file is the common storage unit in a computer. A folder holds one or more files, and it can be empty with just a name.
  • 3. FILE IN COMPUTER TERMS Files are the logical unit of information created by the process. Information present in the file must be Persistent (i.e.) not affected by process creation and termination.
  • 4.
  • 5. FILE NAMING A file is named for the convenience of the users. Whenever process creates a file, it gives file a name. When the process terminates the file continues to exist and can be accessed by other process. In UNIX OS File System the file names are Case sensitive. (i.e.) Ram, ram, RAM are different files.
  • 6. FILE NAMING But in MS DOS and other Windows OS ram, RAM, ram are same. In MS DOS OS file names are upto 8 Characters and the extension is upto 1-3 characters.
  • 7. FILE EXTENSION All the OS aware of the extensions and the assigning meaning is very important. When a user Double click a file name first the OS see the name of the extension and loads the corresponding application. (For Ex) if it is Sam.doc it loads MS Office application.
  • 12. FILE ATTRIBUTES The File Attributes vary from one OS to another but these attributes are common for all OS. 1) Name: File Name Human Readable Format. 2) Type: What the name of the file system (i.e.) doc, text, xls,mp3. 3) Location: To know where the file is stored. 4) Size: To know the size in terms of Bytes.
  • 13. FILE ATTRIBUTES 5) Protection: It determines who can execute, read and write the corresponding file. 6) Time Date and User Information like Last Accessed time, Last Modified time etc.
  • 15. FILE OPERATIONS 1) Create The file is created with no data. 2) Delete When the file is no longer needed, it has to be deleted to free up disk space. 3) Open Before using a file, a process must open it. 4) Close When all the accesses are finished, the attributes and disk addresses are no longer needed.
  • 16. FILE OPERATIONS 5) Read Data are read from file. 6) Write Data are written to the file again, usually at the current position. If the current position is the end of the file, the file's size increases. 7) Append This call is a restricted form of write. It can only add data to the end of the file.
  • 17. FILE OPERATIONS 8) Rename It frequently happens that a user needs to change the name of an existing file. 9) Seek For random access files, a method is needed to specify from where to take the data. 10) Get attributes Modification times of all the source and object files.
  • 18. FILE OPERATIONS 11) Set attributes Some of the attributes are user settable and can be changed after the file has been created. (Ex) The protection mode information. Read Only, Password Protection, Hidden Mode
  • 19. FILE ACCESS The contents stored in the file, If the user wants to access the file it can accessed either by Sequential, Random or Direct Access.
  • 20. FILE ACCESS 1) Sequential access In these systems, a process could read all the bytes or records in a file in order, starting at the beginning, but could not skip around and read them out of order.
  • 21. FILE ACCESS 2)Random Access When disks came into use for storing files, it became possible to read the bytes or records of a file out of order, or to access records by key rather than by position. Files whose bytes or records can be read in any order are called random access files.
  • 22. FILE ACCESS (Ex of Random Access) If an airline customer calls up and wants to reserve a seat on a particular flight, the reservation program must be able to access the record for that flight without having to read the records for thousands of other flights first.