SlideShare a Scribd company logo
The Linux System
Presented by:
Hadia Akhtar
roll no: 016
Overview
• Linux history
• design principles
• Kernel modules
• Memory Management
Linux began in 1991 as a personal project
by Finish student Linus Torvalds:
• To create a new free operating system kernel
because UNIX based system which uses before
LUNIX were much expensive.
• The resulting Linux kernel has been marked by
constant growth throughout its history.
• Since the initial release of its source code in 1991, it
has grown from a small number of C files under a
license prohibiting commercial distribution.
• Linus Torvalds had wanted to call his
invention Freax , a portmanteau of
"free", "freak", and "x" (as an allusion to
Unix).
• During the start of his work on the
system, he stored the files under the
name "Freax" for about half of a year.
• Torvalds had already considered the
name "Linux", but initially dismissed it
as too egotistical.
linux
In 1992, he suggested releasing the
kernel under the GNU General Public
License.
1
In the middle of December 1992 he published
version 0.99 using the GNU GPL.
2
Linux and GNU developers worked to integrate GNU
components with Linux to make a fully functional and free
operating system.
3
Torvalds has stated, "making Linux GPLed was definitely
the best thing I ever did."
4
Linux under the GNU GPL
• Various companies have
also helped not only with
the development of the
kernels, but also with the
writing of the body of
auxiliary software, which
is distributed with Linux.
• The thousands of
programmers around
the world that use
Linux and send their
suggested
improvements to the
maintainers.
The largest part of the work on Linux is performed by the community:
Linux 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 Design Principles
• 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.
Linux SystemComponents
The Linux system consists of
three important code parts:
It is a program that performs
management work individually and
specifically.
System Utility
Responsible for maintaining all
important abstractions of the
operating system, including things
like processes and virtual memory.
Kernel
It defines a set of standard functions
where applications can interact with
the kernel, and implements almost
all operating system functions that
do not require full rights to the
kernel.
System library
Kernel
• The Linux kernel forms the
core of the Linux operating
system.
• It provides all the functions
needed to run the process,
and is provided with system
services to provide settings
and protection for access to
hardware resources.
• The kernel implements all
the features needed to work
as an operating system.
Kernel Modules
• Kernel modules are pieces of code that can be
loaded and unloaded into the kernel upon demand.
• To create a kernel module, you can read
The Linux Kernel Module Programming Guide.
• In order to reduce the size of the Linux Kernel, it may be
split into a 'core', and a large set of Kernel Modules.
• They extend the functionality of the kernel without the
need to reboot the system.
• In order to reduce the size of the Linux
Kernel, it may be split into a 'core', and a
large set of Kernel Modules.
• A Kernel Module is a small file that may
be loaded into the running Kernel, and
unloaded, at will (the next generation of
the Linux kernel will not allow unloading
modules, unless told otherwise).
• Many functions of the Kernel may either
be compiled into the Kernel directly, or
compiled as Modules.
• Modules are split into directories, based on categories:
pcmcia - PCMCIA Drivers, for laptops.
• kernel/net - network-related Modules (firewall, extra
protocols support, etc.)
• kernel/drivers - Drivers for various types of Hardware
(including network Drivers).
• kernel/fs - file-systems support (ext3, vfat, etc.)
• kernel/arch - Architecture-specific support (e.g. Drivers to
handle features of a a specific CPU or motherboard).
Memory Management
TextTextTextText
• This includes
implementation of
virtual memory and
demand paging, memory
allocation both for kernel
internal structures and
user space programs,
mapping of files into
processes address space
and many other cool
things.
• Linux memory
management is a
complex system with
many configurable
settings.
Linux memory management
The x86 memory management architecture
uses both segmentation and paging.
A segment is a partition of a process's address
space that has its own protection policy. it is
possible to split the range of memory addresses
that a process sees into multiple contiguous
segments, and assign different protection
modes to each.
Paging is a technique for mapping
small (usually 4KB) regions of a
process's address space to chunks of
real, physical memory. Paging thus
controls how regions inside a
segment are mapped onto physical
RAM.
60% 40%
In Linux, the OS desig
ners decided to carve
up the 32 bit address s
pace of each process
in the above way.
01
Modern PowerPoint
Presentation
02
Modern
Presentation
03
Modern
Presentation
04
Modern
ppt
05Modern
 one segment
(addresses 0x00000000 through 0xBFFFFF
FF) for user-level, process-specific
data such as the program's code,
static data, heap, and stack. Every
process has its own, independent
user segment.
02
03
• All processes therefore have two segments
(there are some details about additional
segments that I'm hiding)
01
• The same kernel
segment is mapped into
every process, but
processes can access it
only when executing in
protected kernel mode.
• Because kernel-critical data structures and the mapping to
physical memory are contained in the kernel segment, it is
imperative that the user-level process can't cause the kernel
to unwittingly read or write memory locations in this segment
• one segment (addresses 0xC0000000 through 0xFFFFFFFF),
which contains kernel-specific data such as the kernel instructions,
data, some stacks on which kernel code can execute, and more
interestingly, a region in this segment is directly mapped to physical
memory, so that the kernel can directly access physical memory
locations without having to worry about address translation.
Conclusions
While Linux has been around for a very
long time, it has been ignored for
mainstream desktop use for most of its
existence. Linux is not like a
Mac operating system. In
fact, Linux will run on a wider range of
hardware than even Windows.
Thank You

More Related Content

What's hot

Linux architecture
Linux architectureLinux architecture
Linux architecture
mcganesh
 
Linux [2005]
Linux [2005]Linux [2005]
Linux [2005]
Raul Soto
 

What's hot (20)

Windows OS Architecture in Summery
Windows OS Architecture in SummeryWindows OS Architecture in Summery
Windows OS Architecture in Summery
 
UNIX Operating System
UNIX Operating SystemUNIX Operating System
UNIX Operating System
 
Architecture of Linux
 Architecture of Linux Architecture of Linux
Architecture of Linux
 
Linux Introduction
Linux IntroductionLinux Introduction
Linux Introduction
 
Linux architecture
Linux architectureLinux architecture
Linux architecture
 
Linux kernel
Linux kernelLinux kernel
Linux kernel
 
Linux operating system - Overview
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - Overview
 
The linux system
The linux systemThe linux system
The linux system
 
Introduction about linux
Introduction about linuxIntroduction about linux
Introduction about linux
 
Os
OsOs
Os
 
Operating Systems 1: Introduction
Operating Systems 1: IntroductionOperating Systems 1: Introduction
Operating Systems 1: Introduction
 
Linux kernel architecture
Linux kernel architectureLinux kernel architecture
Linux kernel architecture
 
Unix seminar
Unix seminarUnix seminar
Unix seminar
 
Module 3 unit 1
Module 3  unit 1Module 3  unit 1
Module 3 unit 1
 
Ch02
Ch02Ch02
Ch02
 
Ubuntu OS Presentation
Ubuntu OS PresentationUbuntu OS Presentation
Ubuntu OS Presentation
 
Unix Security
Unix SecurityUnix Security
Unix Security
 
Case study operating systems
Case study operating systemsCase study operating systems
Case study operating systems
 
Linux [2005]
Linux [2005]Linux [2005]
Linux [2005]
 
Presentation on linux
Presentation on linuxPresentation on linux
Presentation on linux
 

Similar to The Linux System

operating system ondesktop computer ( laptop)
operating system ondesktop  computer ( laptop)operating system ondesktop  computer ( laptop)
operating system ondesktop computer ( laptop)
BandaruGowtham1
 
Ospresentation 120112074429-phpapp02 (1)
Ospresentation 120112074429-phpapp02 (1)Ospresentation 120112074429-phpapp02 (1)
Ospresentation 120112074429-phpapp02 (1)
Vivian Vhaves
 
unixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdfunixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdf
IxtiyorTeshaboyev
 

Similar to The Linux System (20)

Linux Operating System. UOG MARGHAZAR Campus
 Linux Operating System. UOG MARGHAZAR Campus Linux Operating System. UOG MARGHAZAR Campus
Linux Operating System. UOG MARGHAZAR Campus
 
Linux for embedded_systems
Linux for embedded_systemsLinux for embedded_systems
Linux for embedded_systems
 
introduction.pdf
introduction.pdfintroduction.pdf
introduction.pdf
 
history_of_linux lec 7.pptx
history_of_linux lec 7.pptxhistory_of_linux lec 7.pptx
history_of_linux lec 7.pptx
 
RT linux
RT linuxRT linux
RT linux
 
Assignment On Linux Unix Life Cycle And Its Commands Course Title System Pro...
Assignment On Linux Unix Life Cycle And Its Commands Course Title  System Pro...Assignment On Linux Unix Life Cycle And Its Commands Course Title  System Pro...
Assignment On Linux Unix Life Cycle And Its Commands Course Title System Pro...
 
operating system ondesktop computer ( laptop)
operating system ondesktop  computer ( laptop)operating system ondesktop  computer ( laptop)
operating system ondesktop computer ( laptop)
 
Ch02 system administration
Ch02 system administration Ch02 system administration
Ch02 system administration
 
Linux kernel
Linux kernelLinux kernel
Linux kernel
 
Linux
LinuxLinux
Linux
 
Ospresentation 120112074429-phpapp02 (1)
Ospresentation 120112074429-phpapp02 (1)Ospresentation 120112074429-phpapp02 (1)
Ospresentation 120112074429-phpapp02 (1)
 
Linux vs windows
Linux vs windowsLinux vs windows
Linux vs windows
 
Linux - Introductions to Linux Operating System
Linux - Introductions to Linux Operating SystemLinux - Introductions to Linux Operating System
Linux - Introductions to Linux Operating System
 
Regarding About Operating System Structure
Regarding About Operating System StructureRegarding About Operating System Structure
Regarding About Operating System Structure
 
ubantu ppt.pptx
ubantu ppt.pptxubantu ppt.pptx
ubantu ppt.pptx
 
unixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdfunixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdf
 
Operating system 15 micro kernel based os
Operating system 15 micro kernel based osOperating system 15 micro kernel based os
Operating system 15 micro kernel based os
 
CS8493-OS-Unit-5.pdf
CS8493-OS-Unit-5.pdfCS8493-OS-Unit-5.pdf
CS8493-OS-Unit-5.pdf
 
Linux OS presentation
Linux OS presentationLinux OS presentation
Linux OS presentation
 
Cs8493 unit 5
Cs8493 unit 5Cs8493 unit 5
Cs8493 unit 5
 

Recently uploaded

Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
YibeltalNibretu
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 

Recently uploaded (20)

GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdf
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
 
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
The Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational ResourcesThe Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational Resources
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matrices
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation
 

The Linux System

  • 1. The Linux System Presented by: Hadia Akhtar roll no: 016
  • 2. Overview • Linux history • design principles • Kernel modules • Memory Management
  • 3. Linux began in 1991 as a personal project by Finish student Linus Torvalds: • To create a new free operating system kernel because UNIX based system which uses before LUNIX were much expensive. • The resulting Linux kernel has been marked by constant growth throughout its history. • Since the initial release of its source code in 1991, it has grown from a small number of C files under a license prohibiting commercial distribution.
  • 4. • Linus Torvalds had wanted to call his invention Freax , a portmanteau of "free", "freak", and "x" (as an allusion to Unix). • During the start of his work on the system, he stored the files under the name "Freax" for about half of a year. • Torvalds had already considered the name "Linux", but initially dismissed it as too egotistical.
  • 5. linux In 1992, he suggested releasing the kernel under the GNU General Public License. 1 In the middle of December 1992 he published version 0.99 using the GNU GPL. 2 Linux and GNU developers worked to integrate GNU components with Linux to make a fully functional and free operating system. 3 Torvalds has stated, "making Linux GPLed was definitely the best thing I ever did." 4 Linux under the GNU GPL
  • 6. • Various companies have also helped not only with the development of the kernels, but also with the writing of the body of auxiliary software, which is distributed with Linux. • The thousands of programmers around the world that use Linux and send their suggested improvements to the maintainers. The largest part of the work on Linux is performed by the community:
  • 7. Linux 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.
  • 8. Linux Design Principles • 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.
  • 9. Linux SystemComponents The Linux system consists of three important code parts: It is a program that performs management work individually and specifically. System Utility Responsible for maintaining all important abstractions of the operating system, including things like processes and virtual memory. Kernel It defines a set of standard functions where applications can interact with the kernel, and implements almost all operating system functions that do not require full rights to the kernel. System library
  • 10. Kernel • The Linux kernel forms the core of the Linux operating system. • It provides all the functions needed to run the process, and is provided with system services to provide settings and protection for access to hardware resources. • The kernel implements all the features needed to work as an operating system.
  • 11. Kernel Modules • Kernel modules are pieces of code that can be loaded and unloaded into the kernel upon demand. • To create a kernel module, you can read The Linux Kernel Module Programming Guide. • In order to reduce the size of the Linux Kernel, it may be split into a 'core', and a large set of Kernel Modules. • They extend the functionality of the kernel without the need to reboot the system.
  • 12. • In order to reduce the size of the Linux Kernel, it may be split into a 'core', and a large set of Kernel Modules. • A Kernel Module is a small file that may be loaded into the running Kernel, and unloaded, at will (the next generation of the Linux kernel will not allow unloading modules, unless told otherwise). • Many functions of the Kernel may either be compiled into the Kernel directly, or compiled as Modules.
  • 13. • Modules are split into directories, based on categories: pcmcia - PCMCIA Drivers, for laptops. • kernel/net - network-related Modules (firewall, extra protocols support, etc.) • kernel/drivers - Drivers for various types of Hardware (including network Drivers). • kernel/fs - file-systems support (ext3, vfat, etc.) • kernel/arch - Architecture-specific support (e.g. Drivers to handle features of a a specific CPU or motherboard).
  • 14. Memory Management TextTextTextText • This includes implementation of virtual memory and demand paging, memory allocation both for kernel internal structures and user space programs, mapping of files into processes address space and many other cool things. • Linux memory management is a complex system with many configurable settings.
  • 15. Linux memory management The x86 memory management architecture uses both segmentation and paging. A segment is a partition of a process's address space that has its own protection policy. it is possible to split the range of memory addresses that a process sees into multiple contiguous segments, and assign different protection modes to each. Paging is a technique for mapping small (usually 4KB) regions of a process's address space to chunks of real, physical memory. Paging thus controls how regions inside a segment are mapped onto physical RAM.
  • 16. 60% 40% In Linux, the OS desig ners decided to carve up the 32 bit address s pace of each process in the above way.
  • 17. 01 Modern PowerPoint Presentation 02 Modern Presentation 03 Modern Presentation 04 Modern ppt 05Modern  one segment (addresses 0x00000000 through 0xBFFFFF FF) for user-level, process-specific data such as the program's code, static data, heap, and stack. Every process has its own, independent user segment. 02 03 • All processes therefore have two segments (there are some details about additional segments that I'm hiding) 01 • The same kernel segment is mapped into every process, but processes can access it only when executing in protected kernel mode.
  • 18. • Because kernel-critical data structures and the mapping to physical memory are contained in the kernel segment, it is imperative that the user-level process can't cause the kernel to unwittingly read or write memory locations in this segment • one segment (addresses 0xC0000000 through 0xFFFFFFFF), which contains kernel-specific data such as the kernel instructions, data, some stacks on which kernel code can execute, and more interestingly, a region in this segment is directly mapped to physical memory, so that the kernel can directly access physical memory locations without having to worry about address translation.
  • 19. Conclusions While Linux has been around for a very long time, it has been ignored for mainstream desktop use for most of its existence. Linux is not like a Mac operating system. In fact, Linux will run on a wider range of hardware than even Windows.