Operating System
V Balaji
balajiv211@yahoo.com
Advan
Course Overview
Prerequisites
Syllabus
Reference Materials
Assessments
Additional Work Papers & Publications
Class Policies
Advan
Introduction
Components of a Computer System
What is an Operating System ?
End
User
Programmer
Application
Programs
Utilities
OperatingSystem
Designer
Operating-System
Computer Hardware
market.
Source code availability provides the ability to get
Development of Unix
Inception in 1969 used in Universities
January 1983 System V
Variants : System V, BSD, etc.
Commercial Versions : Solaris, HP Unix, SCO
unix,
Open Source Edition : Linux with GUI
Advan
programs
Uses hierarchical file system easy to maintain and
efficient to implement
Uses a consistent format for files a Byte stream
Simple and Consistent interface to peripherals
Multi-user, Multi-processing, Multi-threading system
Hides machine architecture from the user
Advan
Features of Unix
1. Multi-user system : Multi-user capability of UNIX
Features of Unix
4. Security : UNIX allows sharing of data;
Advan
System Structure
System
Calls
Command
s
64 system
calls in
System V
Advan
10
1
Advan
11
1
1
block number
to access
byte offset
9000
2. Calculate the
block number
to access
byte offset
350,000
Advan
.bmap
12
1
2
Directories
A file whose data is a sequence of entries
containing
Inode number
Name of the file
Unix System V restricts file name to 14
characters why?
Advan
13
1
3
Directories
Access permission on directories
r process can read the directory
w process can create files and sub
Advan
14
1
4
Advan
15
1
5
Super Block
Consists of
The index of the next free inode in the free inode list
Lock fields for the free block and free inode lists
16
1
6
Algorithm for
assigning a
new inode
1
8
inode list)
1
9
Algorithm for
allocating a
disk block
2
0