SlideShare a Scribd company logo
1 of 16
Download to read offline
Week 3
The File System
ž 6.0 Intro
ž 6.1 Pathnames
ž 6.2 Mounting and unmounting
ž 6.3 Organisation
In Unix, anything that exists,
including nothing,
is in the file system
Of course, there are files and
directories. But there are
also representations of all
sorts of objects.
Namespace              API



           filesystem


Security model    Implementation
A Linux/Unix kernel may
support several filesystem
implementations:
•    Ext3
•    Ext4
•    ZFS
•    VxFS
•    ReiserFS
•    JFS
•    Btrfs
•    etc
Everything starts at /.

The root.
/tmp/foo is an absolute pathname.

tmp/food is a relative pathname.
Spaces are ok.
Just use “ or  to preserve
spaces.
mount /dev/sda4 /users

unmount -l /users
No single structure or
naming conventions, great
variety between Linux and
Unix distributions.
/bin    Core OS commands
/boot   Kernel and files for
        booting
/dev    Devices
/etc    Startup and configuration
/home   User home directories
/lib    Libraries, shared libraries,
        C compiler

More Related Content

What's hot

What's hot (20)

Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Linux day 2.ppt
Linux day  2.pptLinux day  2.ppt
Linux day 2.ppt
 
Python & FUSE
Python & FUSEPython & FUSE
Python & FUSE
 
Suman bhatt
Suman bhattSuman bhatt
Suman bhatt
 
Linux (Fedora File Management)
Linux (Fedora File Management)Linux (Fedora File Management)
Linux (Fedora File Management)
 
Basics of-linux
Basics of-linuxBasics of-linux
Basics of-linux
 
Introduction to linux day1
Introduction to linux day1Introduction to linux day1
Introduction to linux day1
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Fuse'ing python for rapid development of storage efficient FS
Fuse'ing python for rapid development of storage efficient FSFuse'ing python for rapid development of storage efficient FS
Fuse'ing python for rapid development of storage efficient FS
 
Lesson 1 Linux System Fundamentals
Lesson 1 Linux System Fundamentals  Lesson 1 Linux System Fundamentals
Lesson 1 Linux System Fundamentals
 
17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards
 
Starting with Linux
Starting with LinuxStarting with Linux
Starting with Linux
 
Ubuntu
UbuntuUbuntu
Ubuntu
 
Unix environment
Unix environmentUnix environment
Unix environment
 
Unix environment [autosaved]
Unix environment [autosaved]Unix environment [autosaved]
Unix environment [autosaved]
 
Introduce to linux
Introduce to linuxIntroduce to linux
Introduce to linux
 
Introduction to linux1
Introduction to linux1Introduction to linux1
Introduction to linux1
 
NCSU MGSA Unix Presentation
NCSU MGSA Unix PresentationNCSU MGSA Unix Presentation
NCSU MGSA Unix Presentation
 
A Brief History of the BSD File System
A Brief History of the BSD File SystemA Brief History of the BSD File System
A Brief History of the BSD File System
 
Tomoyo linux introduction
Tomoyo linux introductionTomoyo linux introduction
Tomoyo linux introduction
 

Viewers also liked

Why Problem Based Learning
Why Problem Based LearningWhy Problem Based Learning
Why Problem Based Learninggjparton
 
Tenix Engineering Conference 06 V3
Tenix Engineering Conference 06 V3Tenix Engineering Conference 06 V3
Tenix Engineering Conference 06 V3futureshocked
 
Tenix Engineering Conference 06 Web Version
Tenix Engineering Conference 06 Web VersionTenix Engineering Conference 06 Web Version
Tenix Engineering Conference 06 Web Versionfutureshocked
 
Knowledge management and business process management
Knowledge management and business process managementKnowledge management and business process management
Knowledge management and business process managementfutureshocked
 
Linux beginner's Workshop
Linux beginner's WorkshopLinux beginner's Workshop
Linux beginner's Workshopfutureshocked
 
The Epistemology of Software Engineering
The Epistemology of Software EngineeringThe Epistemology of Software Engineering
The Epistemology of Software Engineeringnathanmarz
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with DataSeth Familian
 
3 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 20173 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 2017Drift
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheLeslie Samuel
 

Viewers also liked (9)

Why Problem Based Learning
Why Problem Based LearningWhy Problem Based Learning
Why Problem Based Learning
 
Tenix Engineering Conference 06 V3
Tenix Engineering Conference 06 V3Tenix Engineering Conference 06 V3
Tenix Engineering Conference 06 V3
 
Tenix Engineering Conference 06 Web Version
Tenix Engineering Conference 06 Web VersionTenix Engineering Conference 06 Web Version
Tenix Engineering Conference 06 Web Version
 
Knowledge management and business process management
Knowledge management and business process managementKnowledge management and business process management
Knowledge management and business process management
 
Linux beginner's Workshop
Linux beginner's WorkshopLinux beginner's Workshop
Linux beginner's Workshop
 
The Epistemology of Software Engineering
The Epistemology of Software EngineeringThe Epistemology of Software Engineering
The Epistemology of Software Engineering
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with Data
 
3 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 20173 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 2017
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
 

Similar to Itc333 week 3

linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.pptNikhil Raut
 
File system hiearchy
File system hiearchyFile system hiearchy
File system hiearchysritolia
 
Basic linux architecture
Basic linux architectureBasic linux architecture
Basic linux architectureRohit Kumar
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentalsRaghu nath
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.pptjeronimored
 
12-introductiontolinuxos-190907073928
12-introductiontolinuxos-19090707392812-introductiontolinuxos-190907073928
12-introductiontolinuxos-190907073928SahilNegi60
 
12 introduction to Linux OS
12 introduction to Linux OS12 introduction to Linux OS
12 introduction to Linux OSHameda Hurmat
 
Lab 5 Linux File Structure and Hierarchy.pptx
Lab 5 Linux File Structure and Hierarchy.pptxLab 5 Linux File Structure and Hierarchy.pptx
Lab 5 Linux File Structure and Hierarchy.pptxCiceer Ghimirey
 
Shell_Scripting.ppt
Shell_Scripting.pptShell_Scripting.ppt
Shell_Scripting.pptKiranMantri
 
Introduction to linux2
Introduction to linux2Introduction to linux2
Introduction to linux2Gourav Varma
 
Linux fs structure (1)
Linux fs structure (1)Linux fs structure (1)
Linux fs structure (1)E. Rahul Naidu
 
Unix operating system architecture with file structure
Unix operating system architecture with file structure Unix operating system architecture with file structure
Unix operating system architecture with file structure amol_chavan
 
Raspberry pi introduction
Raspberry pi introductionRaspberry pi introduction
Raspberry pi introductionLusiana Diyan
 
Operating systems unix
Operating systems   unixOperating systems   unix
Operating systems unixAchu dhan
 
MODULE 3.1 updated-18cs56.pptx
MODULE 3.1 updated-18cs56.pptxMODULE 3.1 updated-18cs56.pptx
MODULE 3.1 updated-18cs56.pptxManasaPJ1
 
Unix and shell programming | Unix File System | Unix File Permission | Blocks
Unix and shell programming | Unix File System | Unix File Permission | BlocksUnix and shell programming | Unix File System | Unix File Permission | Blocks
Unix and shell programming | Unix File System | Unix File Permission | BlocksLOKESH KUMAR
 

Similar to Itc333 week 3 (20)

Linux administration classes in mumbai
Linux administration classes in mumbaiLinux administration classes in mumbai
Linux administration classes in mumbai
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.ppt
 
File system discovery
File system discovery File system discovery
File system discovery
 
File system hiearchy
File system hiearchyFile system hiearchy
File system hiearchy
 
Basic linux architecture
Basic linux architectureBasic linux architecture
Basic linux architecture
 
CH11.pdf
CH11.pdfCH11.pdf
CH11.pdf
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentals
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.ppt
 
12-introductiontolinuxos-190907073928
12-introductiontolinuxos-19090707392812-introductiontolinuxos-190907073928
12-introductiontolinuxos-190907073928
 
12 introduction to Linux OS
12 introduction to Linux OS12 introduction to Linux OS
12 introduction to Linux OS
 
Lab 5 Linux File Structure and Hierarchy.pptx
Lab 5 Linux File Structure and Hierarchy.pptxLab 5 Linux File Structure and Hierarchy.pptx
Lab 5 Linux File Structure and Hierarchy.pptx
 
Shell_Scripting.ppt
Shell_Scripting.pptShell_Scripting.ppt
Shell_Scripting.ppt
 
Introduction to linux2
Introduction to linux2Introduction to linux2
Introduction to linux2
 
Linux fs structure (1)
Linux fs structure (1)Linux fs structure (1)
Linux fs structure (1)
 
Unix operating system architecture with file structure
Unix operating system architecture with file structure Unix operating system architecture with file structure
Unix operating system architecture with file structure
 
Raspberry pi introduction
Raspberry pi introductionRaspberry pi introduction
Raspberry pi introduction
 
Operating systems unix
Operating systems   unixOperating systems   unix
Operating systems unix
 
MODULE 3.1 updated-18cs56.pptx
MODULE 3.1 updated-18cs56.pptxMODULE 3.1 updated-18cs56.pptx
MODULE 3.1 updated-18cs56.pptx
 
UNIT III.pptx
UNIT III.pptxUNIT III.pptx
UNIT III.pptx
 
Unix and shell programming | Unix File System | Unix File Permission | Blocks
Unix and shell programming | Unix File System | Unix File Permission | BlocksUnix and shell programming | Unix File System | Unix File Permission | Blocks
Unix and shell programming | Unix File System | Unix File Permission | Blocks
 

Itc333 week 3