SlideShare a Scribd company logo
1 of 15
DEVICE FILE AND INPUT
OUTPUT SUBSYSTEMS
MANAGEMENT
1/25/2015 J.SUDARSHANREDDY
 Device manager ( inside OR outside kernel space ) is
the software that manages these for all.
 The manager co-ordinates B/W application process ,
driver and device- controller.
 The device manager polls the requests at the devices
and the actions occur as per their priorities .
 The device manager manages input & output interrupt
queues .
1/25/2015 J.SUDARSHANREDDY
 The device Manager creates an appropriate kernel
interface & API , and that activate the control register
- specific actions of the device .
 The device controller is activated through the API and
kernel interface . An ‘OS’ device manager provides &
executes the modules for managing the devices & their
driver ISR’s .
1/25/2015 J.SUDARSHANREDDY
1. If manages the physical as well as virtual devices
like the pipes and sockets through a common
strategy .
2. Device management has 3 standard approaches to
3 types of device drives
 Programmed I/O’s by polling the service need
from each device .
 Interrupt from the device driver ISR and
 DMA operation used by the devices to access the
memory.
3. A device manager has the functions given
i.
1/25/2015 J.SUDARSHANREDDY
FUNCTION OF A DEVICE MANAGER:
FUNCTION ACTION
Device detection & addition
Provides the codes for detect-
ing the presence of various
devices.
Then the adding them for the
use of os device driver.
Device detection Provides the codes for deny-
ing the device resonance.
Resticate device to specific
process
Resticate a device access to
one process only an instant.
Device access
manage
I. Sequential access
II. Random access.1/25/2015 J.SUDARSHANREDDY
SET OF COMMAND FUNCTIONS FOR DEVICE:
COMMANDS ACTION
Create & open Creating & configuring &
Initializing the device.
Write Write into the device buffer.
Read Read from the device buffer.
Close & delete Close is for de-registering
the device from the system
& delete is for close &
deleting the device.
1/25/2015 J.SUDARSHANREDDY
FILE SYSTEM ORGANISATION &
IMPLEMENTATION:
1. A file is named entity on a magnetic disk, optical
disk or system memory.
2. A file contains the data, characters & texts.
3. It may also have a mix of each os may have
differing abstracts of a file.
*A file may be a named entity that is a structured
record as on a disk having random access in the
system.
1/25/2015 J.SUDARSHANREDDY
* A file may be a structured record on a RAM analogous
to disk & may also be either separately called RAM disk
or simply a file.
* A file may be an unstructured record of bits or byte’s.
1/25/2015 J.SUDARSHANREDDY
SET OF COMMAND FUNCTIONS IN THE
PORTABLE OS (POSIX) FILE SM:
COMMAND IN POSIX ACTIONS
Open Creating the file
Write Writing the file
Read Reading the file
Close Closing the file
1/25/2015 J.SUDARSHANREDDY
SET OF COMMAND FUNCTIONS IN THE
PORTABLE OS (POSIX) FILE SM:
COMMAND IN POSIX ACTIONS
Open Creating the file
Write Writing the file
Read Reading the file
Close Closing the file
1/25/2015 J.SUDARSHANREDDY
TYPES OF FILE SYSTEM:
1) BLOCK FILE SYSTEM:
 It’s application generates records to be saved
into the memory.
 These are first structured into a suitable format
& then translated into block systems.
1) Byte stream file system:
 It’s application generates record streams.
 These streams are to be saved into the memory.
1/25/2015 J.SUDARSHANREDDY
I/O SUBSYTEMS:
 I/O ports are the OS device management
subsystems.
 Drivers communicate with the many devices that
use them.
 I/O instructions depend on the hardware
platform.
 I/O subsystems differ in different OS’s.
1/25/2015 J.SUDARSHANREDDY
TYPES OF I/O OPERATIONS:
1) Synchronous:
 There are may be saperate functions in RTOS.
In case of traditional OS it is supperate.
 These are at certain fixed data transfer rates.
 A task blocks tills completion of the I/O.
e.g. A write function, write () for 1KB data transfer
to a buffer.
1/25/2015 J.SUDARSHANREDDY
2) Asynchronous:
 Asynchronous I/O operations are at the variable
data transfer rates.
 If provisions for a process of high priority not
blocked during the I/O’s.
1/25/2015 J.SUDARSHANREDDY
I/O SUBSYSTEM IN A TYPICAL OS:
SUBSYTEM’S HIERARCHY ACTIONS & LAYERS
Application
An application having a
sub layer between the
application & I/O
Functions.
I/O device driver
Functions
These are device
dependent OS
Functions.
A driver may interface
with a set
Of library functions.
1/25/2015 J.SUDARSHANREDDY

More Related Content

What's hot

Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller
Nitesh Kumar
 

What's hot (20)

Mobile Data Networks
Mobile Data NetworksMobile Data Networks
Mobile Data Networks
 
Embedded system Design
Embedded system DesignEmbedded system Design
Embedded system Design
 
Mac protocols
Mac protocolsMac protocols
Mac protocols
 
Classification of embedded systems
Classification of embedded systemsClassification of embedded systems
Classification of embedded systems
 
Target hardware debugging
Target hardware debuggingTarget hardware debugging
Target hardware debugging
 
Device drivers and interrupt service mechanism
Device drivers and interrupt service mechanismDevice drivers and interrupt service mechanism
Device drivers and interrupt service mechanism
 
Windows CE
Windows CEWindows CE
Windows CE
 
Introduction to Embedded System I: Chapter 2 (5th portion)
Introduction to Embedded System I: Chapter 2 (5th portion)Introduction to Embedded System I: Chapter 2 (5th portion)
Introduction to Embedded System I: Chapter 2 (5th portion)
 
Embedded system design challenges
Embedded system design challenges Embedded system design challenges
Embedded system design challenges
 
Task communication
Task communicationTask communication
Task communication
 
Applications of microprocessor
Applications of microprocessorApplications of microprocessor
Applications of microprocessor
 
Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller
 
Embedded systems - UNIT-1 - Mtech
Embedded systems - UNIT-1 - MtechEmbedded systems - UNIT-1 - Mtech
Embedded systems - UNIT-1 - Mtech
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
 
Evolution of mobile radio communication
Evolution of mobile radio communicationEvolution of mobile radio communication
Evolution of mobile radio communication
 
Computational models in embedded design
Computational models in embedded designComputational models in embedded design
Computational models in embedded design
 
Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
 
DMA and DMA controller
DMA and DMA controllerDMA and DMA controller
DMA and DMA controller
 
Embedded System
Embedded SystemEmbedded System
Embedded System
 

Viewers also liked (6)

Operating Systems 1 (11/12) - Input / Output
Operating Systems 1 (11/12) - Input / OutputOperating Systems 1 (11/12) - Input / Output
Operating Systems 1 (11/12) - Input / Output
 
Chapter 13 - I/O Systems
Chapter 13 - I/O SystemsChapter 13 - I/O Systems
Chapter 13 - I/O Systems
 
Input output systems ppt - cs2411
Input output systems ppt - cs2411Input output systems ppt - cs2411
Input output systems ppt - cs2411
 
Operating System (Scheduling, Input and Output Management, Memory Management,...
Operating System (Scheduling, Input and Output Management, Memory Management,...Operating System (Scheduling, Input and Output Management, Memory Management,...
Operating System (Scheduling, Input and Output Management, Memory Management,...
 
Process synchronization in Operating Systems
Process synchronization in Operating SystemsProcess synchronization in Operating Systems
Process synchronization in Operating Systems
 
Ch05
Ch05Ch05
Ch05
 

Similar to DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT

An IO sub system comprises of IO devices and their corresponding d.pdf
An IO sub system comprises of IO devices and their corresponding d.pdfAn IO sub system comprises of IO devices and their corresponding d.pdf
An IO sub system comprises of IO devices and their corresponding d.pdf
sooryasalini
 
Amr Chap 08 Operating Systems & Utility Programs
Amr Chap 08 Operating Systems & Utility ProgramsAmr Chap 08 Operating Systems & Utility Programs
Amr Chap 08 Operating Systems & Utility Programs
sharing notes123
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.ppt
MemMem25
 
Hcs Topic 5 Software V2
Hcs Topic 5 Software V2Hcs Topic 5 Software V2
Hcs Topic 5 Software V2
ekul
 

Similar to DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT (20)

Device drivers and their applications
Device drivers and their applicationsDevice drivers and their applications
Device drivers and their applications
 
Operating System Case Study and I/O System
Operating System Case Study and I/O SystemOperating System Case Study and I/O System
Operating System Case Study and I/O System
 
Windows Architecture Explained by Stacksol
Windows Architecture Explained by StacksolWindows Architecture Explained by Stacksol
Windows Architecture Explained by Stacksol
 
Ch07 system administration
Ch07 system administration Ch07 system administration
Ch07 system administration
 
Unit 6
Unit 6Unit 6
Unit 6
 
Window architecture
Window architecture Window architecture
Window architecture
 
IO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTUREIO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTURE
 
lecture1.pdf
lecture1.pdflecture1.pdf
lecture1.pdf
 
WINDOWS-CE
WINDOWS-CEWINDOWS-CE
WINDOWS-CE
 
An IO sub system comprises of IO devices and their corresponding d.pdf
An IO sub system comprises of IO devices and their corresponding d.pdfAn IO sub system comprises of IO devices and their corresponding d.pdf
An IO sub system comprises of IO devices and their corresponding d.pdf
 
Operating System Lecture 2
Operating System Lecture 2Operating System Lecture 2
Operating System Lecture 2
 
L-3 BCE OS FINAL.ppt
L-3 BCE OS FINAL.pptL-3 BCE OS FINAL.ppt
L-3 BCE OS FINAL.ppt
 
Amr Chap 08 Operating Systems & Utility Programs
Amr Chap 08 Operating Systems & Utility ProgramsAmr Chap 08 Operating Systems & Utility Programs
Amr Chap 08 Operating Systems & Utility Programs
 
Ch07
Ch07Ch07
Ch07
 
Linux Device Driver,LDD,
Linux Device Driver,LDD,Linux Device Driver,LDD,
Linux Device Driver,LDD,
 
linux device driver
linux device driverlinux device driver
linux device driver
 
Section02-Structures.ppt
Section02-Structures.pptSection02-Structures.ppt
Section02-Structures.ppt
 
DeviceDriverNov18.ppt
DeviceDriverNov18.pptDeviceDriverNov18.ppt
DeviceDriverNov18.ppt
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.ppt
 
Hcs Topic 5 Software V2
Hcs Topic 5 Software V2Hcs Topic 5 Software V2
Hcs Topic 5 Software V2
 

More from JOLLUSUDARSHANREDDY

More from JOLLUSUDARSHANREDDY (20)

RTOS CASE STUDY OF CODING FOR SENDING APPLIC...
                                RTOS  CASE STUDY OF CODING FOR SENDING APPLIC...                                RTOS  CASE STUDY OF CODING FOR SENDING APPLIC...
RTOS CASE STUDY OF CODING FOR SENDING APPLIC...
 
MEMORY MANAGEMENT
MEMORY MANAGEMENTMEMORY MANAGEMENT
MEMORY MANAGEMENT
 
Os security issues
Os security issuesOs security issues
Os security issues
 
RTOS LINUX2.6.X & LINUX2.6.24
 RTOS    LINUX2.6.X & LINUX2.6.24 RTOS    LINUX2.6.X & LINUX2.6.24
RTOS LINUX2.6.X & LINUX2.6.24
 
OSEK / VDX
OSEK / VDXOSEK / VDX
OSEK / VDX
 
INTERRUPT LATENCY AND RESPONSE OF THE TASK
INTERRUPT LATENCY AND RESPONSE OF THE TASKINTERRUPT LATENCY AND RESPONSE OF THE TASK
INTERRUPT LATENCY AND RESPONSE OF THE TASK
 
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLSINTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
 
Rt linux-lab1
Rt linux-lab1Rt linux-lab1
Rt linux-lab1
 
RTOS MICRO CONTROLLER OPERATING SYSTEM-2
RTOS MICRO CONTROLLER OPERATING SYSTEM-2RTOS MICRO CONTROLLER OPERATING SYSTEM-2
RTOS MICRO CONTROLLER OPERATING SYSTEM-2
 
Automated system for fault analysis in industries using
Automated system for fault analysis  in industries usingAutomated system for fault analysis  in industries using
Automated system for fault analysis in industries using
 
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
CASE STUDY OF DIGITAL CAMERAHARDWARE AND SOFT WAREARCHITECTURECASE STUDY OF...CASE STUDY OF DIGITAL CAMERAHARDWARE AND SOFT WAREARCHITECTURECASE STUDY OF...
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
 
SOLAR TRACKING SYSTEM BY USING MICROCONTROLLER
 SOLAR  TRACKING  SYSTEM  BY  USING  MICROCONTROLLER SOLAR  TRACKING  SYSTEM  BY  USING  MICROCONTROLLER
SOLAR TRACKING SYSTEM BY USING MICROCONTROLLER
 
Zigbee Based Solar Light System By Using LDR
Zigbee Based Solar Light System By Using LDRZigbee Based Solar Light System By Using LDR
Zigbee Based Solar Light System By Using LDR
 
Design of smart nodes for wireless sensor network ...
Design of smart nodes for wireless sensor network                            ...Design of smart nodes for wireless sensor network                            ...
Design of smart nodes for wireless sensor network ...
 
ATM USER ACCOUNT SECURE BY USING GSM TECHNOLOGY
ATM USER ACCOUNTSECURE BYUSING GSM TECHNOLOGYATM USER ACCOUNTSECURE BYUSING GSM TECHNOLOGY
ATM USER ACCOUNT SECURE BY USING GSM TECHNOLOGY
 
BOMB DETECTION ROBOT BY USING GSM & GPS
BOMB DETECTION ROBOT BY USING GSM & GPSBOMB DETECTION ROBOT BY USING GSM & GPS
BOMB DETECTION ROBOT BY USING GSM & GPS
 
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFIDSTUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
 
SOLAR BASED MOBILE CHARGER IN RURAL AREAS
SOLAR BASED MOBILE CHARGER IN RURAL AREASSOLAR BASED MOBILE CHARGER IN RURAL AREAS
SOLAR BASED MOBILE CHARGER IN RURAL AREAS
 
MOBILE MONITORNG SYSTEM FOR SMART HOMES
MOBILE  MONITORNG  SYSTEM FOR SMART HOMES MOBILE  MONITORNG  SYSTEM FOR SMART HOMES
MOBILE MONITORNG SYSTEM FOR SMART HOMES
 
wireless security control system and sensor network for smoke and fire detection
wireless security control system and sensor network for smoke and fire detectionwireless security control system and sensor network for smoke and fire detection
wireless security control system and sensor network for smoke and fire detection
 

Recently uploaded

Recently uploaded (20)

How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 

DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT

  • 1. DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT 1/25/2015 J.SUDARSHANREDDY
  • 2.  Device manager ( inside OR outside kernel space ) is the software that manages these for all.  The manager co-ordinates B/W application process , driver and device- controller.  The device manager polls the requests at the devices and the actions occur as per their priorities .  The device manager manages input & output interrupt queues . 1/25/2015 J.SUDARSHANREDDY
  • 3.  The device Manager creates an appropriate kernel interface & API , and that activate the control register - specific actions of the device .  The device controller is activated through the API and kernel interface . An ‘OS’ device manager provides & executes the modules for managing the devices & their driver ISR’s . 1/25/2015 J.SUDARSHANREDDY
  • 4. 1. If manages the physical as well as virtual devices like the pipes and sockets through a common strategy . 2. Device management has 3 standard approaches to 3 types of device drives  Programmed I/O’s by polling the service need from each device .  Interrupt from the device driver ISR and  DMA operation used by the devices to access the memory. 3. A device manager has the functions given i. 1/25/2015 J.SUDARSHANREDDY
  • 5. FUNCTION OF A DEVICE MANAGER: FUNCTION ACTION Device detection & addition Provides the codes for detect- ing the presence of various devices. Then the adding them for the use of os device driver. Device detection Provides the codes for deny- ing the device resonance. Resticate device to specific process Resticate a device access to one process only an instant. Device access manage I. Sequential access II. Random access.1/25/2015 J.SUDARSHANREDDY
  • 6. SET OF COMMAND FUNCTIONS FOR DEVICE: COMMANDS ACTION Create & open Creating & configuring & Initializing the device. Write Write into the device buffer. Read Read from the device buffer. Close & delete Close is for de-registering the device from the system & delete is for close & deleting the device. 1/25/2015 J.SUDARSHANREDDY
  • 7. FILE SYSTEM ORGANISATION & IMPLEMENTATION: 1. A file is named entity on a magnetic disk, optical disk or system memory. 2. A file contains the data, characters & texts. 3. It may also have a mix of each os may have differing abstracts of a file. *A file may be a named entity that is a structured record as on a disk having random access in the system. 1/25/2015 J.SUDARSHANREDDY
  • 8. * A file may be a structured record on a RAM analogous to disk & may also be either separately called RAM disk or simply a file. * A file may be an unstructured record of bits or byte’s. 1/25/2015 J.SUDARSHANREDDY
  • 9. SET OF COMMAND FUNCTIONS IN THE PORTABLE OS (POSIX) FILE SM: COMMAND IN POSIX ACTIONS Open Creating the file Write Writing the file Read Reading the file Close Closing the file 1/25/2015 J.SUDARSHANREDDY
  • 10. SET OF COMMAND FUNCTIONS IN THE PORTABLE OS (POSIX) FILE SM: COMMAND IN POSIX ACTIONS Open Creating the file Write Writing the file Read Reading the file Close Closing the file 1/25/2015 J.SUDARSHANREDDY
  • 11. TYPES OF FILE SYSTEM: 1) BLOCK FILE SYSTEM:  It’s application generates records to be saved into the memory.  These are first structured into a suitable format & then translated into block systems. 1) Byte stream file system:  It’s application generates record streams.  These streams are to be saved into the memory. 1/25/2015 J.SUDARSHANREDDY
  • 12. I/O SUBSYTEMS:  I/O ports are the OS device management subsystems.  Drivers communicate with the many devices that use them.  I/O instructions depend on the hardware platform.  I/O subsystems differ in different OS’s. 1/25/2015 J.SUDARSHANREDDY
  • 13. TYPES OF I/O OPERATIONS: 1) Synchronous:  There are may be saperate functions in RTOS. In case of traditional OS it is supperate.  These are at certain fixed data transfer rates.  A task blocks tills completion of the I/O. e.g. A write function, write () for 1KB data transfer to a buffer. 1/25/2015 J.SUDARSHANREDDY
  • 14. 2) Asynchronous:  Asynchronous I/O operations are at the variable data transfer rates.  If provisions for a process of high priority not blocked during the I/O’s. 1/25/2015 J.SUDARSHANREDDY
  • 15. I/O SUBSYSTEM IN A TYPICAL OS: SUBSYTEM’S HIERARCHY ACTIONS & LAYERS Application An application having a sub layer between the application & I/O Functions. I/O device driver Functions These are device dependent OS Functions. A driver may interface with a set Of library functions. 1/25/2015 J.SUDARSHANREDDY