Operating Systems - Part 1
Operating Systems - Part 1
Architecture
Infrastructure Building Blocks
and Concepts
• The UNIX philosophy is to use a large set of small tools that do only one
thing, and do it very well
• To perform complicated tasks, commands can be combined using a system
called pipes
Pipes feed the output of one command to the input of another command, without
storing the intermediate result
For instance, the UNIX command: ls | sort prints a sorted list of files on the screen
The pipe sign “|” sends the output of the “ls” command as input to the “sort” command
• In practice, these chains of piped commands can get very long and
complex
Linux - history
• Ninety-five per cent of the supercomputers listed in the top 500 list of the
fastest computers in the world are running Linux
• Almost all internet services run on Linux
Linux – GNU/Linux
• Linux and the GNU tools are licensed under the GNU General Public
License
Ensures all source code will be free for all to copy, study, and to change
Linux – distributions
• Vendors compiled the Linux source code, added some tools and
configurations of their own, and releasing it in a distributable format
• Some of the best-known Linux distributions:
Red Hat
SuSe
Ubuntu
Debian
Linux - Support
• BSD was the basis for three open source development projects:
FreeBSD
Most widely used
FreeBSD is a complete operating system (Linux is only a kernel!)
NetBSD
Ported to 57 hardware platforms across 15 different processor architectures
Often used in embedded systems
BSD
OpenBSD
Most secure BSD version
Has a tradition in which developers audit the source code for software bugs and security
problems
In the 10+ years of its existence, only three security bugs have been found in OpenBSD
• In 1990, Microsoft Windows 3.0 was the first successful Windows version
• In late 1995, Microsoft released Windows 95, positioned as the new
operating system for desktops
Windows 95 introduced the "start" button
• Windows NT 4
Included the Windows 95 style GUI
Companies started the switch from Novell servers to Windows NT 4
Some UNIX systems were being replaced by Windows NT 4 systems
• Journaling file systems keep track of changes made to files in a journal log
before committing them to the main file system
Higher availability
Fast recovery in case of a malfunction
• File systems must be mounted before they can be used by the operating
system
A disk and the file system on it must be recognized by the operating system and
attached to it