OS - Basics
What is an Operating System?
An operating system (OS) is system software that manages computer hardware and software resources, and provides common services for computer programs.
Components
- Kernel
- Process Management Module
- Memory(RAM) Management Modules
- File System
- Device Drivers
- User Interface
Goals
- Efficiency
- User Convenience
- Security and Protection
- Multitasking and Parallel Processing
- Reliability and Fault tolerance
Functions
- Process Management: Creation, Scheduling, and termination of process
- Memory Management: Allocation of memory to process in need for it, and freeing when no longer required. Implement Virtual memory, for using secondary storage as extended RAM
- File systems management: Managing files on disk
- Device Management: Abstract hardware devices, for use with software.
- Security and Access Control: User authentication and protection against unauthorized entry
- Networking
- User Interface
The Kernel
Roles:
- Process Management
- Memory Management
- Filesystems
- Device Control
- Networking
Classes of devices:
- Character devices
- Block devices
- Network Interfaces