Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 40 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
40
Dung lượng
5,56 MB
Nội dung
1 Study UNIX and LINUX 10.1 History of unix 10.2 Overview of unix 10.3 Processes in unix 10.4 Memory management in unix 10.5 Input/output in unix 10.6 The unix file system 10.7 Security in unix 2 UNIX The layers of a UNIX system. Us er Inter face 3 UNIX Utility Programs A few of the more common UNIX utility programs required by POSIX 4 UNIX Kernel Approximate structure of generic UNIX kernel 5 Processes in UNIX Process creation in UNIX. 6 POSIX The signals required by POSIX. 7 System Calls for Process Management s is an error code pid is a process ID residual is the remaining time from the previous alarm 8 POSIX Shell A highly simplified shell 9 Threads in POSIX The principal POSIX thread calls. 10 The ls Command Steps in executing the command ls type to the shell [...]... calls for managing the terminal 21 UNIX I/O (1) Some of the fields of a typical cdevsw table 22 UNIX I/O (2) The UNIX I/O system in BSD 23 Streams An example of streams in System V 24 The UNIX File System (1) Some important directories found in most UNIX systems 25 The UNIX File System (2) • Before linking • After linking (a) Before linking (b) After linking 26 The UNIX File System (3) • Separate file... entry 31 UNIX File System (1) Disk layout in classical UNIX systems 32 UNIX File System (2) Directory entry fields Structure of the i-node 33 UNIX File System (3) The relation between the file descriptor table, the open file description 34 UNIX File System (4) • A BSD directory with three files • The same directory after the file voluminous has been removed 35 The Linux File System Layout of the Linux. ..Flags for Linux clone Bits in the sharing_flags bitmap 11 UNIX Scheduler The UNIX scheduler is based on a multilevel queue structure 12 Booting UNIX cp The sequences of processes used to boot some systems 13 Handling Memory Process A Process B • Process A's virtual address space • Physical memory • Process B's... Memory Management • • • • • • • s is an error code b and addr are memory addresses len is a length prot controls protection flags are miscellaneous bits fd is a file descriptor offset is a file offset 16 Paging in UNIX The core map in 4BSD The core map has an entry for each page 17 Paging in Linux (1) Linux uses three-level page tables 18 Paging in Linux (2) Operation of the buddy algorithm Buddy algorithm . 1 Study UNIX and LINUX 10.1 History of unix 10.2 Overview of unix 10.3 Processes in unix 10.4 Memory management in unix 10.5 Input/output in unix 10.6 The unix file system. system 10.7 Security in unix 2 UNIX The layers of a UNIX system. Us er Inter face 3 UNIX Utility Programs A few of the more common UNIX utility programs required by POSIX 4 UNIX Kernel Approximate. thread calls. 10 The ls Command Steps in executing the command ls type to the shell 11 Flags for Linux clone Bits in the sharing_flags bitmap 12 UNIX Scheduler The UNIX scheduler is based on a