Chapter 2: The Linux System Part 1

Slides:



Advertisements
Similar presentations
GNU / Linux A free operating system. Summary History What can you find on a Linux OS Linux Economy.
Advertisements

Chapter One The Essence of UNIX.
Computer Forensics Principles and Practices by Volonino, Anzaldua, and Godwin Chapter 6: Operating Systems and Data Transmission Basics for Digital Investigations.
CENG334 Introduction to Operating Systems Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
Xuan Guo Chapter 1 What is UNIX? Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003 Original Notes.
Introduction to Linux Chapter 1. Operating Systems Operating System (OS) - most basic and important software on a computer Performs core tasks Organize.
AN INTRODUCTION TO LINUX OPERATING SYSTEM Zihui Han.
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/Linux.
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
Ceng Operating Systems
Linux Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Overview of Linux Dr. Michael L. Collard 1.
21.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 21: The Linux System Linux History Design Principles Kernel.
CE Operating Systems Lecture 6 Overview of Unix/Linux operating systems.
Linux vs. Windows NT Rehana Shrestha. Linux vs. Windows NT History Design Principles System Components Kernel Memory Management File Systems Security.
Chapter 1: Welcome to Linux An intro to UNIX-related operating systems.
April 2000Dr Milan Simic1 Network Operating Systems Windows NT.
Chapter 2 Operating System Overview
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
Chapter 1 : The Linux System Part 1 Lecture 1 10/21/
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
CE Operating Systems Lecture 5 Overview of Unix/Linux operating systems.
IT320 OPERATING SYSTEM CONCEPTS Unit 3: Welcome to Linux June 2011 Kaplan University 1.
IT320 OPERATING SYSTEM CONCEPTS Unit 3: Welcome to Linux September 2012 Kaplan University 1.
Linux Overview COMS W4118 Spring Slides based on Phil Hutto, Silberschatz 2 History Linux is a modern, free operating system based on UNIX standards.
The UNIX Time-sharing system
Basic UNIX Concepts. Why We Need an Operating System (OS) OS interacts with hardware and manages programs. A safe environment for programs to run is required.
Chapter 9: Networking with Unix and Linux. Objectives: Describe the origins and history of the UNIX operating system Identify similarities and differences.
UNIX History UNIX began as a research project. UNIX System V developed at Bell Laboratories. BSD (Berkley Software Distribution) UNIX XENIX UNIX Sun Operating.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 1.
Agenda UNX122_022_w1_p3 Overview of UNIX
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 2.
Chapter 1: Introduction to Linux. 2 Introduction Computer Components: –Hardware –Software Types of hardware and software Important components of an OS.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
CITA 171 Section 1 DOS/Windows Introduction. DOS Disk operating system (DOS) –Term most often associated with MS-DOS –Single-tasking operating system.
The Linux System.
Computer System Structures
IT320 Operating System Concepts
A History of Linux Damian Gordon.
Operating System & Application Software
Chapter 18: The Linux System
LINUX WINDOWS Vs..
Selected topic in computer science (1)
Welcome to Linux Chap#1 Hanin Abdulrahman.
Popular Operating System Chapter 8
Cross-platform Libraries Technology Presentation
Linux Introduction ITIS 2110.
MOBILE DEVICE OPERATING SYSTEM
Chapter 6 Introduction to Network Operating Systems
LINUX WINDOWS Vs..
10CS53 Operating Systems Unit VIII Engineered for Tomorrow
Chapter 3: Windows7 Part 1.
חוברת שקפים להרצאות של ד"ר יאיר ויסמן מבוססת על אתר האינטרנט:
Lecture 5 : The Linux System
Chapter 2: The Linux System Part 2
Chapter 2: System Structures
10CS53 Operating Systems Unit VIII Engineered for Tomorrow
Windows Virtual PC / Hyper-V
Chapter 2: Operating-System Structures
Chapter 2: The Linux System Part 5
Linux Professor Sabol.
Outline Operating System Organization Operating System Examples
Welcome to Linux Chap#1 Hanin Abdulrahman.
Section 1: Linux Basics and SLES9 Installation
Welcome to Linux Chap#1.
Chapter 1 What is UNIX? Graham Glass and King Ables,
Chapter 2: Operating-System Structures
Lecture 5 : The Linux System
Presentation transcript:

Chapter 2: The Linux System Part 1

Chapter 2: The Linux System Linux History Design Principles Kernel Modules Process Management Scheduling Memory Management File Systems Input and Output Interprocess Communication Network Structure Security

Objectives To explore the history of the UNIX operating system from which Linux is derived and the principles which Linux is designed upon To examine the Linux process model and illustrate how Linux schedules processes and provides interprocess communication To look at memory management in Linux To explore how Linux implements file systems and manages I/O devices

History

History Linux is a modern, free operating system based on UNIX standards First developed as a small but self-contained kernel in 1991 by Linus Torvalds, with the major design goal of UNIX compatibility Its history has been one of collaboration by many users from all around the world, corresponding almost exclusively over the Internet It has been designed to run efficiently and reliably on common PC hardware, but also runs on a variety of other platforms The core Linux operating system kernel is entirely original, but it can run much existing free UNIX software, resulting in an entire UNIX-compatible operating system free from proprietary code

History The Linux kernel is an entirely original piece of software developed from scratch by the Linux community. The Linux system, as we know it today, includes a multitude of components, some written from scratch, others borrowed from other development projects. Linux distribution includes all the standard components of the Linux system, plus a set of administrative tools to simplify the initial installation and subsequent upgrading of Linux and to manage installation and removal of other packages on the system. Many, varying Linux Distributions including the kernel, applications, and management tools.

The Linux Kernel Version 0.01 (May 1991) had no networking, ran only on 80386-compatible Intel processors and on PC hardware, had extremely limited device-drive support, and supported only the Minix file system Linux 1.0 (March 1994) included these new features: Support for UNIX’s standard TCP/IP networking protocols BSD-compatible socket interface for networking programming Device-driver support for running IP over an Ethernet Enhanced file system Extra hardware support Version 1.2 (March 1995) was the final PC-only Linux kernel.

Linux 2.0 Released in June 1996, 2.0 added two major new capabilities: Support for multiple architectures, including a fully 64-bit native Alpha port Support for multiprocessor architectures Other new features included: Improved memory-management code Improved TCP/IP performance Standardized configuration interface Available for Motorola 68000-series processors, Sun Sparc systems, and for PC and PowerMac systems

The Linux System Linux uses many tools developed as part of Berkeley’s BSD operating system, ex: Free Software Foundation's GNU project The min system libraries were started by the GNU project, with improvements provided by the Linux community Linux networking-administration tools were derived from 4.3BSD code; recent BSD derivatives such as Free BSD have borrowed code from Linux in return The Linux system is maintained by a loose network of developers collaborating over the Internet, with a small number of public sites acting as de facto standard repositories.

Linux Distributions Standard, precompiled sets of packages, or distributions, include the basic Linux system, system installation and management utilities, and ready-to-install packages of common UNIX tools Early Linux distributions Red Hat and Debian are popular distributions, the first comes from a commercial Linux support company and the second from the free-software Linux community. The RPM Package file format permits compatibility among the various Linux distributions

Linux Licensing The Linux kernel is distributed under the GNU General Public License (GPL), the terms of which are set out by the Free Software Foundation copyright rights in Linux code are still held by the code’s various authors. Linux is free software, however, in the sense that people can copy it, modify it, use it in any manner they want, and give away their own copies, without any restrictions.

Design Principles

Design Principles Linux is a multiuser, multitasking system with a full set of UNIX-compatible tools Its file system adheres to traditional UNIX semantics, and it fully implements the standard UNIX networking model Main design goals are speed, efficiency, and standardization Linux is designed to be compliant with the relevant POSIX documents; at least two Linux distributions have achieved official POSIX certification The Linux programming interface adheres to the SVR4 UNIX semantics, rather than to BSD behavior

Components of a Linux System

Components of a Linux System (Cont.) The Linux system is composed of three main bodies of code, in line with most traditional UNIX implementations: Kernel. The kernel is responsible for maintaining all the important abstractions of the operating system, including such things as virtual memory and processes. Kernel code executes in kernel mode with full access to all the physical resources of the computer All kernel code and data structures are kept in the same single address space. Why? This single address space contains not only the core scheduling and virtual memory code but all kernel code, including all device drivers, file systems, and networking code.

Components of a Linux System (Cont.) 2. System libraries. The system libraries define a standard set of functions through which applications can interact with the kernel. 3. System utilities. The system utilities are programs that perform individual, specialized management tasks. Some system utilities may be invoked just once to initialize and configure some aspect of the system; others—known as daemons in UNIX terminology—may run permanently, handling such tasks as responding to incoming network connections, accepting logon requests from terminals, and updating log files.