CS2028 Unix Internals Hand Written Lecture Notes - Venkat Raman Edition

0
   
Unix Internals Premium Lecture Notes, Prepared by Venkat Raman. Specially for Computer Science Engineering . Syllabus Covered based on Anna University B.E Computer Science Engineering (Regulation 2008)

CONTENT:

UNIT-2 BUFFER CACHE (Pages:31)
UNIT-3 SYSTEM CALL FOR FILE SYSTEM (Pages:49)

Arrow Attachment: Click here

UNIT-2
BUFFER CACHE
Conversion of pathname to node
Current directory
Namer
Non directory file
Five typical scenarios
Algorithm for relase buffer
Free innode from middle list
5 scenario for retrieval of buffer
Search block 4 on first hash queue
Remove block and from free list
Algorithm for relase buffer
Second scenario
Third scenario
Fourth scenario
Final scenario
Reading and writing disk block
1. First block
2. Second block
Inode 
File owner identifier
File type
File access permission
File access time
Status of in-core inode
Accessing inode
Structure of regular file
Block layout of file
Buffer
Buffer header
Buffer consist of two parts
1. Memory array contain data from disk
2. Buffer identifies buffer
Data in file system
Status of buffer
Structure of buffer pool

UNIT-3
SYSTEM CALL FOR FILE SYSTEM
Mounting and unmounting
File system
File name
Mounting system call
Cross mount point in file path name
2 case for mount point
1. Cross from mounted on file system to mounted file system
2. Cross from mounted file system to mount on file system
Data structure after mount
Accessing inode
Algorithm for passing file name
Unmounts file system
PIPE
Kinds of PIPE
1. Named PIPE
2. Unnamed PIPE
Open system call
PIPE system call
Opening a named PIPE
Reading and writing PIPE
Closing PIPE
Description of an algorithm open,read,write
Linking and unlinking file system
File system consistency
Race condition
Handling signal
Demonstrate race condition in catching signal
Implementation of fork system call
Process creation
Parent creation
Child creation
Region of data structure


 Arrow Attachment: Click here