Документ взят из кэша поисковой машины. Адрес оригинального документа : http://star.arm.ac.uk/sag-0.4/node6.html
Дата изменения: Sun May 4 15:24:29 1997
Дата индексирования: Mon Oct 1 22:20:24 2012
Кодировка:

Поисковые слова: arp 220
Various parts of an operating system next up previous contents index
Next: Important parts of the Up: Overview of a Linux Previous: Overview of a Linux

Various parts of an operating system

A UNIX operating system consists of a kernel and some system programs. There are also some application programs for doing work. The kernel is the heart of the operating systemgif. It keeps track of files on the disk, starts programs and runs them concurrently, assigns memory and other resources to various processes, receives packets from and sends packets to the network, and so on. The kernel does very little by itself, but it provides tools with which all services can be built. It also prevents anyone from accessing the hardware directly, forcing everyone to use the tools it provides. This way the kernel provides some protection for users from each other. The tools provided by the kernel are used via system calls; see manual page section 2 for more information on these.          

The system programs use the tools provided by the kernel to implement the various services required from an operating system. System programs, and all other programs, run `on top of the kernel', in what is called the user mode. The difference between system and application programs is one of intent: applications are intended for getting useful things done (or for playing, if it happens to be a game), whereas system programs are needed to get the system working. A word processor is an application; telnet  is a system program. The difference is often somewhat blurry, however, and is important only to compulsive categorizers.  

An operating system can also contain compilers and their corresponding libraries (GCC and the C library in particular under Linux), although not all programming languages need be part of the operating system. Documentation, and sometimes even games, can also be part of it. Traditionally, the operating system has been defined by the contents of the installation tape or disks; with Linux it is not as clear since it is spread all over the FTP sites of the world.          


next up previous contents index
Next: Important parts of the Up: Overview of a Linux Previous: Overview of a Linux

Lars Wirzenius
Sun May 4 14:08:43 EEST 1997