summaryrefslogtreecommitdiff
path: root/doc/2.md
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2021-01-25 21:04:04 -0700
committermo khan <mo.khan@gmail.com>2021-01-25 21:04:04 -0700
commit8a3baed5a50d724046aee329d7e1271902d2368d (patch)
treef7bcba9699907d21a54a92f7eed4aeb71f4a3548 /doc/2.md
parent36cb136cf60414dc78df180de5806509d86b6bc5 (diff)
start chapter 2 notes
Diffstat (limited to 'doc/2.md')
-rw-r--r--doc/2.md47
1 files changed, 47 insertions, 0 deletions
diff --git a/doc/2.md b/doc/2.md
new file mode 100644
index 0000000..114cd93
--- /dev/null
+++ b/doc/2.md
@@ -0,0 +1,47 @@
+# Chapter 2: Operating System Structures
+
+* Chapter 2: 2.1 to 2.5
+
+## Operating-System Services
+
+The OS provides an environment for the execution of programs.
+It provides certain services to programs and to the users
+of those programs.
+
+services provided to the user:
+
+* User Interface:
+ * command line interface: text commands and a method for entering them.
+ * batch interface: commands and directives to control those commands are entered into files, and those files are executed.
+ * graphical user interface: a window system with a pointing device to direct I/O.
+* Program execution: Load a program into memory and run that program.
+* I/O operations: a running program may require I/O, which may involve a file or an I/O device.
+* File-system manipulation:
+ * read and write files
+ * create and delete files by name
+ * search for files
+ * list file information
+ * permissions management
+* Communication:
+ * inter process communication
+ * shared memory
+ * message passing
+* Error detection:
+ * CPU/Memory hardware
+ * I/O devices
+ * user programs
+
+services for ensuring efficient operation:
+
+* Resource allocation
+ * CPU scheduling routines
+ * allocate printers, modems, USB storage devices
+* Accounting
+ * keep track of which users use how mucn and what kinds of computer resources
+* Protection and security
+ * control access to information
+ * one process should not be able to interfere with another process.
+ * access to system resources are controlled
+ * authentication
+
+## User Operating-System Interface