SlideShare a Scribd company logo
Linux File System
Linux
 The Linux kernel is an open-source monolithic unix-like computer operating
system kernel.
 Its basic design from principles established in Unix during the 1970s and 1980s.
 Linux is a small UNIX system. Version 1.0 released in 1994, 2.2 in 1999.
 Today used on 7-10 million computers corporate computer network and Web
servers .
2
What is a File System
File System is responsible for storing information on disk and retrieving and updating
this information.
Example : FAT16, FAT32, NTFS
ext2, ext3 ,ext4…
 In Linux everything is file.
3
Types of File System
 Network File System
NFS
SMB
 Disk File System
ext2
ext3
FAT32
NTFS
4
Network File System
Network File System are physically somewhere else, but appear as if they
are mounted on one computer.
 NFS
It was developed by Sun.
 SMB
It was developed by Microsoft.
5
Physical Structure on the Disk
 Boot Block : information needs to boot the system
 Super Block : File System Specifications Size Max. number of files Free
blocks Free inodes
 inode List
 Block List : The files data
6
Boot
block
supper
block
Inode
list
Block
list
In operation, Linux Kernel need to know
7
Where those data are store.
How it can be access.
And where we save the new data.
Second standard file system (ext2) 1993
Maximum file size : 2TB
Maximum volume size: 8 TB
File name size: 255 characters
Supports:
POSIX permissions
File compression
8
THIRD standard file system (ext3)
Maximum file size : 2TB
Maximum volume size: 2 TB
File name size: 255 characters
Supports:
POSIX permissions
File compression
include a journal entry (PENDING)
9
RISAR FILE SYSTEM
User Journaling
Maximum file size : 8 TB
Maximum volume size: 16 TB
10
FOURTH standard file system (ext4)
Maximum file size : 16TB
Maximum volume size: 1 EXA-BYTE
Maximum NUMBER OF file: 4 BILION Supports:
POSIX permissions
File compression
include a USER journal entry
11
 In Linux, all files and directories are located in a tree-like structure. The topmost
directory is referred to as the file system root
 # Current directory (.)
# Parent directory (…)
12
Absolute path vs. Relative path
13
Linux two-part file system software
implementation
14
The first part of this two-part implementation is the Linux virtual file system
Root Structure
15
16
/boot Contains the static bootloader and kernel executable and
configuration files required to boot a Linux computer.
/dev This directory contains the device files for every hardware device
attached to the system. These are not device drivers, rather they
are files that represent each device on the computer and facilitate
access to those devices.
/ (root
filesystem)
The root filesystem is the top-level directory of the filesystem. It
must contain all of the files required to boot the Linux system
before other filesystems are mounted. It must include all of the
required executables and libraries required to boot the remaining
filesystems
/bin The /bin directory contains user executable files.
Brief Description
17/etc Contains the local system configuration files for the host
computer
/home Home directory storage for user files. Each user has a subdirectory
in /home.
/lib Contains shared library files that are required to boot the system.
/media A place to mount external removable media devices such as USB
thumb drives that may be connected to the host.
/mnt A temporary mountpoint for regular filesystems (as in not
removable media) that can be used while the administrator is
repairing or working on a filesystem.
/opt Optional files such as vendor supplied application programs
should be located here.
18
/sbin System binary files. These are executables used for system
administration.
/tmp Temporary directory. Used by the operating system and many
programs to store temporary files. Users may also store files here
temporarily. Note that files stored here may be deleted at any
time without prior notice.
/usr These are shareable, read-only files, including executable binaries
and libraries, man files, and other types of documentation.
/var Variable data files are stored here. This can include things like log
files, MySQL, and other database files, web server data files, email
inboxes, and much more.
Basic Comand
19
Basic Command
20
To see what a directory contain with all of hidden file
Ls –al or ls -a
Mounting
21
The mount command mounts a storage device or filesystem, making it accessible
and attaching it to an existing directory structure.
Syntax:
$ mount -t type file-system mount-point
added a disk /dev/sdb on /data directory
$ mount -t ext4 /dev/sdb /data
Unmounting
22
The unmount command "unmounts" a mounted filesystem. Run unmount
command with disk name or mount point name to unmount currently mounted disk.
Syntax:
$ umount /dev/sdb
$ umount /data
Thank
You
23

More Related Content

What's hot

File system Os
File system OsFile system Os
File system Os
Nehal Naik
 
Shell programming
Shell programmingShell programming
Shell programming
Moayad Moawiah
 
Linux process management
Linux process managementLinux process management
Linux process managementRaghu nath
 
Management file and directory in linux
Management file and directory in linuxManagement file and directory in linux
Management file and directory in linux
Zkre Saleh
 
Bash shell scripting
Bash shell scriptingBash shell scripting
Bash shell scripting
VIKAS TIWARI
 
Linux commands
Linux commandsLinux commands
Linux commands
Mannu Khani
 
UNIX Operating System ppt
UNIX Operating System pptUNIX Operating System ppt
Linux security
Linux securityLinux security
Linux security
trilokchandra prakash
 
File System Hierarchy
File System HierarchyFile System Hierarchy
File System Hierarchy
sritolia
 
Chapter07 Advanced File System Management
Chapter07      Advanced  File  System  ManagementChapter07      Advanced  File  System  Management
Chapter07 Advanced File System ManagementRaja Waseem Akhtar
 
User Administration in Linux
User Administration in LinuxUser Administration in Linux
User Administration in Linux
SAMUEL OJO
 
directory structure and file system mounting
directory structure and file system mountingdirectory structure and file system mounting
directory structure and file system mounting
rajshreemuthiah
 
Server configuration
Server configurationServer configuration
Server configuration
Aisha Talat
 
Storage Management in Linux OS.ppt
Storage Management in Linux OS.pptStorage Management in Linux OS.ppt
Storage Management in Linux OS.ppt
Rakesh Kadu
 
Linux operating system - Overview
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - Overview
Ashita Agrawal
 
Samba server
Samba serverSamba server
Samba server
Santosh Khadsare
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
Stephen Ahiante
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
Harish1983
 

What's hot (20)

File system Os
File system OsFile system Os
File system Os
 
Shell programming
Shell programmingShell programming
Shell programming
 
Linux process management
Linux process managementLinux process management
Linux process management
 
Management file and directory in linux
Management file and directory in linuxManagement file and directory in linux
Management file and directory in linux
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Bash shell scripting
Bash shell scriptingBash shell scripting
Bash shell scripting
 
Linux commands
Linux commandsLinux commands
Linux commands
 
UNIX Operating System ppt
UNIX Operating System pptUNIX Operating System ppt
UNIX Operating System ppt
 
Linux
Linux Linux
Linux
 
Linux security
Linux securityLinux security
Linux security
 
File System Hierarchy
File System HierarchyFile System Hierarchy
File System Hierarchy
 
Chapter07 Advanced File System Management
Chapter07      Advanced  File  System  ManagementChapter07      Advanced  File  System  Management
Chapter07 Advanced File System Management
 
User Administration in Linux
User Administration in LinuxUser Administration in Linux
User Administration in Linux
 
directory structure and file system mounting
directory structure and file system mountingdirectory structure and file system mounting
directory structure and file system mounting
 
Server configuration
Server configurationServer configuration
Server configuration
 
Storage Management in Linux OS.ppt
Storage Management in Linux OS.pptStorage Management in Linux OS.ppt
Storage Management in Linux OS.ppt
 
Linux operating system - Overview
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - Overview
 
Samba server
Samba serverSamba server
Samba server
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 

Similar to Linux file system

Files and directories in Linux 6
Files and directories  in Linux 6Files and directories  in Linux 6
Files and directories in Linux 6
Meenakshi Paul
 
Os
OsOs
Operating System
Operating SystemOperating System
Operating System
VijayaPriya14
 
File system hiearchy
File system hiearchyFile system hiearchy
File system hiearchy
sritolia
 
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
 
LinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.pptLinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.ppt
muraridesai2
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentalsRaghu nath
 
Linux file system
Linux file systemLinux file system
Linux file system
Mohammad Reza Gerami
 
linux file system
linux file systemlinux file system
linux file system
AryaTadbir Network Designers
 
Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to Unix
Nishant Munjal
 
12 introduction to Linux OS
12 introduction to Linux OS12 introduction to Linux OS
12 introduction to Linux OS
Hameda Hurmat
 
12-introductiontolinuxos-190907073928
12-introductiontolinuxos-19090707392812-introductiontolinuxos-190907073928
12-introductiontolinuxos-190907073928
SahilNegi60
 
Edubooktraining
EdubooktrainingEdubooktraining
Edubooktraining
norhloudspeaker
 
Linux fs structure (1)
Linux fs structure (1)Linux fs structure (1)
Linux fs structure (1)E. Rahul Naidu
 
Linux
LinuxLinux
Unix Administration
Unix AdministrationUnix Administration
Unix Administration
Nishant Munjal
 

Similar to Linux file system (20)

Files and directories in Linux 6
Files and directories  in Linux 6Files and directories  in Linux 6
Files and directories in Linux 6
 
Os
OsOs
Os
 
Operating System
Operating SystemOperating System
Operating System
 
File system hiearchy
File system hiearchyFile system hiearchy
File system hiearchy
 
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
 
LinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.pptLinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.ppt
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentals
 
Linux file system
Linux file systemLinux file system
Linux file system
 
linux file system
linux file systemlinux file system
linux file system
 
File system discovery
File system discovery File system discovery
File system discovery
 
Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to Unix
 
Unix1
Unix1Unix1
Unix1
 
12 introduction to Linux OS
12 introduction to Linux OS12 introduction to Linux OS
12 introduction to Linux OS
 
12-introductiontolinuxos-190907073928
12-introductiontolinuxos-19090707392812-introductiontolinuxos-190907073928
12-introductiontolinuxos-190907073928
 
Edubooktraining
EdubooktrainingEdubooktraining
Edubooktraining
 
Linux fs structure (1)
Linux fs structure (1)Linux fs structure (1)
Linux fs structure (1)
 
Linux
LinuxLinux
Linux
 
Unix Administration
Unix AdministrationUnix Administration
Unix Administration
 
beginner.en.print
beginner.en.printbeginner.en.print
beginner.en.print
 
beginner.en.print
beginner.en.printbeginner.en.print
beginner.en.print
 

More from Md. Tanvir Hossain

Automated train
Automated trainAutomated train
Automated train
Md. Tanvir Hossain
 
Captcha
CaptchaCaptcha
Adjusting the accounts
Adjusting the accountsAdjusting the accounts
Adjusting the accounts
Md. Tanvir Hossain
 
Segmentation
SegmentationSegmentation
Segmentation
Md. Tanvir Hossain
 
Normalization
NormalizationNormalization
Normalization
Md. Tanvir Hossain
 
Application of interpolation in CSE
Application of interpolation in CSEApplication of interpolation in CSE
Application of interpolation in CSE
Md. Tanvir Hossain
 
Internet(Internetwork)
Internet(Internetwork)Internet(Internetwork)
Internet(Internetwork)
Md. Tanvir Hossain
 
Basic Biocomputing
Basic BiocomputingBasic Biocomputing
Basic Biocomputing
Md. Tanvir Hossain
 
Intel core i3 processor
Intel core i3 processorIntel core i3 processor
Intel core i3 processor
Md. Tanvir Hossain
 
Satellite communication and it's future
Satellite communication and it's futureSatellite communication and it's future
Satellite communication and it's future
Md. Tanvir Hossain
 
Introduction to Object Oriented Programming
Introduction to Object Oriented ProgrammingIntroduction to Object Oriented Programming
Introduction to Object Oriented Programming
Md. Tanvir Hossain
 
Introduction to JAVA
Introduction to JAVAIntroduction to JAVA
Introduction to JAVA
Md. Tanvir Hossain
 
Java interface
Java interfaceJava interface
Java interface
Md. Tanvir Hossain
 
Java exception handling
Java exception handlingJava exception handling
Java exception handling
Md. Tanvir Hossain
 

More from Md. Tanvir Hossain (14)

Automated train
Automated trainAutomated train
Automated train
 
Captcha
CaptchaCaptcha
Captcha
 
Adjusting the accounts
Adjusting the accountsAdjusting the accounts
Adjusting the accounts
 
Segmentation
SegmentationSegmentation
Segmentation
 
Normalization
NormalizationNormalization
Normalization
 
Application of interpolation in CSE
Application of interpolation in CSEApplication of interpolation in CSE
Application of interpolation in CSE
 
Internet(Internetwork)
Internet(Internetwork)Internet(Internetwork)
Internet(Internetwork)
 
Basic Biocomputing
Basic BiocomputingBasic Biocomputing
Basic Biocomputing
 
Intel core i3 processor
Intel core i3 processorIntel core i3 processor
Intel core i3 processor
 
Satellite communication and it's future
Satellite communication and it's futureSatellite communication and it's future
Satellite communication and it's future
 
Introduction to Object Oriented Programming
Introduction to Object Oriented ProgrammingIntroduction to Object Oriented Programming
Introduction to Object Oriented Programming
 
Introduction to JAVA
Introduction to JAVAIntroduction to JAVA
Introduction to JAVA
 
Java interface
Java interfaceJava interface
Java interface
 
Java exception handling
Java exception handlingJava exception handling
Java exception handling
 

Recently uploaded

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
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
Col Mukteshwar Prasad
 
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...
Nguyen Thanh Tu Collection
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 

Recently uploaded (20)

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
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
 
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...
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 

Linux file system

  • 2. Linux  The Linux kernel is an open-source monolithic unix-like computer operating system kernel.  Its basic design from principles established in Unix during the 1970s and 1980s.  Linux is a small UNIX system. Version 1.0 released in 1994, 2.2 in 1999.  Today used on 7-10 million computers corporate computer network and Web servers . 2
  • 3. What is a File System File System is responsible for storing information on disk and retrieving and updating this information. Example : FAT16, FAT32, NTFS ext2, ext3 ,ext4…  In Linux everything is file. 3
  • 4. Types of File System  Network File System NFS SMB  Disk File System ext2 ext3 FAT32 NTFS 4
  • 5. Network File System Network File System are physically somewhere else, but appear as if they are mounted on one computer.  NFS It was developed by Sun.  SMB It was developed by Microsoft. 5
  • 6. Physical Structure on the Disk  Boot Block : information needs to boot the system  Super Block : File System Specifications Size Max. number of files Free blocks Free inodes  inode List  Block List : The files data 6 Boot block supper block Inode list Block list
  • 7. In operation, Linux Kernel need to know 7 Where those data are store. How it can be access. And where we save the new data.
  • 8. Second standard file system (ext2) 1993 Maximum file size : 2TB Maximum volume size: 8 TB File name size: 255 characters Supports: POSIX permissions File compression 8
  • 9. THIRD standard file system (ext3) Maximum file size : 2TB Maximum volume size: 2 TB File name size: 255 characters Supports: POSIX permissions File compression include a journal entry (PENDING) 9
  • 10. RISAR FILE SYSTEM User Journaling Maximum file size : 8 TB Maximum volume size: 16 TB 10
  • 11. FOURTH standard file system (ext4) Maximum file size : 16TB Maximum volume size: 1 EXA-BYTE Maximum NUMBER OF file: 4 BILION Supports: POSIX permissions File compression include a USER journal entry 11
  • 12.  In Linux, all files and directories are located in a tree-like structure. The topmost directory is referred to as the file system root  # Current directory (.) # Parent directory (…) 12
  • 13. Absolute path vs. Relative path 13
  • 14. Linux two-part file system software implementation 14 The first part of this two-part implementation is the Linux virtual file system
  • 16. 16 /boot Contains the static bootloader and kernel executable and configuration files required to boot a Linux computer. /dev This directory contains the device files for every hardware device attached to the system. These are not device drivers, rather they are files that represent each device on the computer and facilitate access to those devices. / (root filesystem) The root filesystem is the top-level directory of the filesystem. It must contain all of the files required to boot the Linux system before other filesystems are mounted. It must include all of the required executables and libraries required to boot the remaining filesystems /bin The /bin directory contains user executable files. Brief Description
  • 17. 17/etc Contains the local system configuration files for the host computer /home Home directory storage for user files. Each user has a subdirectory in /home. /lib Contains shared library files that are required to boot the system. /media A place to mount external removable media devices such as USB thumb drives that may be connected to the host. /mnt A temporary mountpoint for regular filesystems (as in not removable media) that can be used while the administrator is repairing or working on a filesystem. /opt Optional files such as vendor supplied application programs should be located here.
  • 18. 18 /sbin System binary files. These are executables used for system administration. /tmp Temporary directory. Used by the operating system and many programs to store temporary files. Users may also store files here temporarily. Note that files stored here may be deleted at any time without prior notice. /usr These are shareable, read-only files, including executable binaries and libraries, man files, and other types of documentation. /var Variable data files are stored here. This can include things like log files, MySQL, and other database files, web server data files, email inboxes, and much more.
  • 20. Basic Command 20 To see what a directory contain with all of hidden file Ls –al or ls -a
  • 21. Mounting 21 The mount command mounts a storage device or filesystem, making it accessible and attaching it to an existing directory structure. Syntax: $ mount -t type file-system mount-point added a disk /dev/sdb on /data directory $ mount -t ext4 /dev/sdb /data
  • 22. Unmounting 22 The unmount command "unmounts" a mounted filesystem. Run unmount command with disk name or mount point name to unmount currently mounted disk. Syntax: $ umount /dev/sdb $ umount /data