SlideShare a Scribd company logo
Linux Forensics
Examining Linux File Structures
• UNIX flavors
• Silicon Graphics, Inc. (SGI) IRIX, Santa Cruz Operation (SCO)
UnixWare, Sun Solaris, IBM AIX, and HP-UX
• Linux distributions
• Ubuntu, Debian, Red Hat, OpenSUSE, and Slackware
• Linux is only the core of the OS
• All UNIX-like OSs have a kernel
• So do all Windows OSs
Examining Linux File Structures
Examining Linux File Structures
File Structures in Ext4
• The early file system standard was Second Extended File System (Ext2)
• Third Extended File System (Ext3) replaced Ext2 in most Linux distributions
• Fourth Extended File System (Ext4) added support for partitions larger than
16 TB
• Improved management of large files and offered more flexibility
• Adoption of Ext4 was slower in some Linux distributions
• Everything is a file
• Files are objects with properties and methods
File Structures in Ext4
Consists of four components
• Boot block
• Block is a disk allocation unit of at least 512 bytes
• Contains the bootstrap code
• UNIX/Linux computer has only one boot block,
located on the main hard disk
• Superblock
• Indicates disk geometry, available space, and location
of the first inode
• Manages the file system
• Inode blocks
• First data after the superblock
• Assigned to every file allocation unit
• Data blocks
• Where directories and files are stored
• This location is linked directly to
inodes
Inodes
• Contain file and directory metadata
• Also link data stored in data blocks
• An assigned inode contains the following:
• Mode and type of file or directory
• Number of links to a file or directory
• UID and GID of the file’s or directory’s
owner
• Number of bytes in the file or directory
• File’s or directory’s last access time and last
modified timeInode’s last file status change
time
• Block address for the file data
• Indirect, double-indirect, and triple-indirect
block addresses for the file data
• Current usage status of the inode
• Number of actual blocks assigned to a file
• File generation number of version number
• Continuation inode’s link
Inodes
• First inode has 13 pointers
• Pointers 1 to 10 are direct pointers to data storage blocks
• Pointer 11 is an indirect pointer
• Links to 128 pointer inodes and each pointer links directly to 128 blocks
• Pointer 12 is a double-indirect pointer
• Pointer 13 is a triple-indirect pointer
• Bad block inode
• Keeps track of disk’s bad sectors
Hard Links and Symbolic Links
Hard link
• A pointer that allows accessing the
same file by different filenames
• Use the ln command to create a
hard link
Symbolic links
• Pointers to other files and aren’t included in
the link
• Have an inode of their own
• Not the same as the inode
of the item
they are
pointing to
• Depend on
the existence
of the
destination
they are
pointing to
Summary
• UNIX was created to be a multiuser, multithreaded, secure OS
• The Linux kernel is usually packaged with other software components, such as a
GUI and applications
• Linux supports a wide range of file systems
• UNIX and Linux have four components defining the file system: boot block,
superblock, inode block, and data block
• In the Linux file system, a hard link is a pointer that allows accessing the same file
by different filenames

More Related Content

What's hot

SSM
SSMSSM
NTFS and Inode
NTFS and InodeNTFS and Inode
NTFS and Inode
Amit Seal Ami
 
Ntfs and computer forensics
Ntfs and computer forensicsNtfs and computer forensics
Ntfs and computer forensics
Gaurav Ragtah
 
Windows File Systems
Windows File SystemsWindows File Systems
Windows File Systems
primeteacher32
 
ITFT_File system interface in Operating System
ITFT_File system interface in Operating SystemITFT_File system interface in Operating System
ITFT_File system interface in Operating System
Sneh Prabha
 
A fast file system for unix presentation by parang saraf (cs5204 VT)
A fast file system for unix presentation by parang saraf (cs5204 VT)A fast file system for unix presentation by parang saraf (cs5204 VT)
A fast file system for unix presentation by parang saraf (cs5204 VT)
Parang Saraf
 
NTFS file system
NTFS file systemNTFS file system
NTFS file system
Ravi Yasas
 
2nd unit part 1
2nd unit  part 12nd unit  part 1
2nd unit part 1
Pavan Illa
 
Introduction to file system and OCFS2
Introduction to file system and OCFS2Introduction to file system and OCFS2
Introduction to file system and OCFS2
Gang He
 
Linux and windows file system
Linux and windows  file systemLinux and windows  file system
Linux and windows file system
lin yucheng
 
File System Interface
File System InterfaceFile System Interface
File System Interface
chandinisanz
 
M2 211-unix fs-rl_2.1.1
M2 211-unix fs-rl_2.1.1M2 211-unix fs-rl_2.1.1
M2 211-unix fs-rl_2.1.1
MrudulaJoshi10
 
File System Implementation
File System ImplementationFile System Implementation
File System Implementation
Abhishek Pachisia
 
Ch11
Ch11Ch11
File structures
File structuresFile structures
File structures
Shyam Kumar
 
Learn about log structured file system
Learn about log structured file systemLearn about log structured file system
Learn about log structured file system
Gang He
 
File implementation
File implementationFile implementation
File implementation
Mohd Arif
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
tittuajay
 
Windows Registry
Windows RegistryWindows Registry
Windows Registry
primeteacher32
 
File system
File systemFile system
File system
sonu riyana
 

What's hot (20)

SSM
SSMSSM
SSM
 
NTFS and Inode
NTFS and InodeNTFS and Inode
NTFS and Inode
 
Ntfs and computer forensics
Ntfs and computer forensicsNtfs and computer forensics
Ntfs and computer forensics
 
Windows File Systems
Windows File SystemsWindows File Systems
Windows File Systems
 
ITFT_File system interface in Operating System
ITFT_File system interface in Operating SystemITFT_File system interface in Operating System
ITFT_File system interface in Operating System
 
A fast file system for unix presentation by parang saraf (cs5204 VT)
A fast file system for unix presentation by parang saraf (cs5204 VT)A fast file system for unix presentation by parang saraf (cs5204 VT)
A fast file system for unix presentation by parang saraf (cs5204 VT)
 
NTFS file system
NTFS file systemNTFS file system
NTFS file system
 
2nd unit part 1
2nd unit  part 12nd unit  part 1
2nd unit part 1
 
Introduction to file system and OCFS2
Introduction to file system and OCFS2Introduction to file system and OCFS2
Introduction to file system and OCFS2
 
Linux and windows file system
Linux and windows  file systemLinux and windows  file system
Linux and windows file system
 
File System Interface
File System InterfaceFile System Interface
File System Interface
 
M2 211-unix fs-rl_2.1.1
M2 211-unix fs-rl_2.1.1M2 211-unix fs-rl_2.1.1
M2 211-unix fs-rl_2.1.1
 
File System Implementation
File System ImplementationFile System Implementation
File System Implementation
 
Ch11
Ch11Ch11
Ch11
 
File structures
File structuresFile structures
File structures
 
Learn about log structured file system
Learn about log structured file systemLearn about log structured file system
Learn about log structured file system
 
File implementation
File implementationFile implementation
File implementation
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
 
Windows Registry
Windows RegistryWindows Registry
Windows Registry
 
File system
File systemFile system
File system
 

Viewers also liked

Social Media Forensics for Investigators
Social Media Forensics for InvestigatorsSocial Media Forensics for Investigators
Social Media Forensics for Investigators
Case IQ
 
Web Browser Artifacts
Web Browser ArtifactsWeb Browser Artifacts
Web Browser Artifacts
primeteacher32
 
Virtual Machine Forensics
Virtual Machine ForensicsVirtual Machine Forensics
Virtual Machine Forensics
primeteacher32
 
Web Scraping
Web ScrapingWeb Scraping
Web Scraping
primeteacher32
 
Processes
ProcessesProcesses
Processes
primeteacher32
 
Logs = Accountability
Logs = AccountabilityLogs = Accountability
Logs = Accountability
Anton Chuvakin
 
Cron Jobs
Cron JobsCron Jobs
Cron Jobs
primeteacher32
 
Open source
Open sourceOpen source
Open source
Vigno Raj
 
Regular Expressions
Regular ExpressionsRegular Expressions
Regular Expressions
primeteacher32
 
CSV File Manipulation
CSV File ManipulationCSV File Manipulation
CSV File Manipulation
primeteacher32
 
Processing Regex Python
Processing Regex PythonProcessing Regex Python
Processing Regex Python
primeteacher32
 
Unix Administration 2
Unix Administration 2Unix Administration 2
Unix Administration 2
Information Technology
 
مقدمة وتمهيد - Charisma Code كاريزما كود
مقدمة وتمهيد - Charisma Code كاريزما كود مقدمة وتمهيد - Charisma Code كاريزما كود
مقدمة وتمهيد - Charisma Code كاريزما كود
Ahmad Salameh
 
استعدادات السفر
استعدادات السفراستعدادات السفر
استعدادات السفر
sis shiraviolet
 
Part 03 File System Implementation in Linux
Part 03 File System Implementation in LinuxPart 03 File System Implementation in Linux
Part 03 File System Implementation in Linux
Tushar B Kute
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
Wave Digitech
 
Reading and Writing Files
Reading and Writing FilesReading and Writing Files
Reading and Writing Files
primeteacher32
 
Terminal Commands (Linux - ubuntu) (part-1)
Terminal Commands  (Linux - ubuntu) (part-1)Terminal Commands  (Linux - ubuntu) (part-1)
Terminal Commands (Linux - ubuntu) (part-1)
raj upadhyay
 
Python Basics
Python BasicsPython Basics
Python Basics
primeteacher32
 
Linux administration
Linux administrationLinux administration
Linux administration
Yogesh Ks
 

Viewers also liked (20)

Social Media Forensics for Investigators
Social Media Forensics for InvestigatorsSocial Media Forensics for Investigators
Social Media Forensics for Investigators
 
Web Browser Artifacts
Web Browser ArtifactsWeb Browser Artifacts
Web Browser Artifacts
 
Virtual Machine Forensics
Virtual Machine ForensicsVirtual Machine Forensics
Virtual Machine Forensics
 
Web Scraping
Web ScrapingWeb Scraping
Web Scraping
 
Processes
ProcessesProcesses
Processes
 
Logs = Accountability
Logs = AccountabilityLogs = Accountability
Logs = Accountability
 
Cron Jobs
Cron JobsCron Jobs
Cron Jobs
 
Open source
Open sourceOpen source
Open source
 
Regular Expressions
Regular ExpressionsRegular Expressions
Regular Expressions
 
CSV File Manipulation
CSV File ManipulationCSV File Manipulation
CSV File Manipulation
 
Processing Regex Python
Processing Regex PythonProcessing Regex Python
Processing Regex Python
 
Unix Administration 2
Unix Administration 2Unix Administration 2
Unix Administration 2
 
مقدمة وتمهيد - Charisma Code كاريزما كود
مقدمة وتمهيد - Charisma Code كاريزما كود مقدمة وتمهيد - Charisma Code كاريزما كود
مقدمة وتمهيد - Charisma Code كاريزما كود
 
استعدادات السفر
استعدادات السفراستعدادات السفر
استعدادات السفر
 
Part 03 File System Implementation in Linux
Part 03 File System Implementation in LinuxPart 03 File System Implementation in Linux
Part 03 File System Implementation in Linux
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
 
Reading and Writing Files
Reading and Writing FilesReading and Writing Files
Reading and Writing Files
 
Terminal Commands (Linux - ubuntu) (part-1)
Terminal Commands  (Linux - ubuntu) (part-1)Terminal Commands  (Linux - ubuntu) (part-1)
Terminal Commands (Linux - ubuntu) (part-1)
 
Python Basics
Python BasicsPython Basics
Python Basics
 
Linux administration
Linux administrationLinux administration
Linux administration
 

Similar to Examining Linux File Structures

Types of files
Types of filesTypes of files
Types of files
Amar Jukuntla
 
operating system File - System Interface
operating system File - System Interfaceoperating system File - System Interface
operating system File - System Interface
Chandrakant Divate
 
File System.pptx
File System.pptxFile System.pptx
File System.pptx
bcanawakadalcollege
 
AOS Lab 10: File system -- Inodes and beyond
AOS Lab 10: File system -- Inodes and beyondAOS Lab 10: File system -- Inodes and beyond
AOS Lab 10: File system -- Inodes and beyond
Zubair Nabi
 
Systems Programming - File IO
Systems Programming - File IOSystems Programming - File IO
Systems Programming - File IO
HelpWithAssignment.com
 
10 File System
10 File System10 File System
10 File System
Dr. Loganathan R
 
Ch10 file system interface
Ch10   file system interfaceCh10   file system interface
Ch10 file system interface
Welly Dian Astika
 
AOS Lab 9: File system -- Of buffers, logs, and blocks
AOS Lab 9: File system -- Of buffers, logs, and blocksAOS Lab 9: File system -- Of buffers, logs, and blocks
AOS Lab 9: File system -- Of buffers, logs, and blocks
Zubair Nabi
 
12-introductiontolinuxos-190907073928
12-introductiontolinuxos-19090707392812-introductiontolinuxos-190907073928
12-introductiontolinuxos-190907073928
SahilNegi60
 
12 introduction to Linux OS
12 introduction to Linux OS12 introduction to Linux OS
12 introduction to Linux OS
Hameda Hurmat
 
Os6
Os6Os6
Course 102: Lecture 5: File Handling Internals
Course 102: Lecture 5: File Handling Internals Course 102: Lecture 5: File Handling Internals
Course 102: Lecture 5: File Handling Internals
Ahmed El-Arabawy
 
Ext filesystem4
Ext filesystem4Ext filesystem4
Ext filesystem4
Neha Kulkarni
 
File system1.pptx
File system1.pptxFile system1.pptx
File system1.pptx
Samar954063
 
UNIT III.pptx
UNIT III.pptxUNIT III.pptx
UNIT III.pptx
YogapriyaJ1
 
File system in operating system e learning
File system in operating system e learningFile system in operating system e learning
File system in operating system e learning
Lavanya Sharma
 
File Management & Access Control
File Management & Access Control File Management & Access Control
File Management & Access Control
YuvrajWadavale
 
Unix File System
Unix File SystemUnix File System
Unix File System
student(MCA)
 
Linuxnishustud
LinuxnishustudLinuxnishustud
Linuxnishustud
Vicky Singh
 
Unix files
Unix filesUnix files
Unix files
Sunil Rm
 

Similar to Examining Linux File Structures (20)

Types of files
Types of filesTypes of files
Types of files
 
operating system File - System Interface
operating system File - System Interfaceoperating system File - System Interface
operating system File - System Interface
 
File System.pptx
File System.pptxFile System.pptx
File System.pptx
 
AOS Lab 10: File system -- Inodes and beyond
AOS Lab 10: File system -- Inodes and beyondAOS Lab 10: File system -- Inodes and beyond
AOS Lab 10: File system -- Inodes and beyond
 
Systems Programming - File IO
Systems Programming - File IOSystems Programming - File IO
Systems Programming - File IO
 
10 File System
10 File System10 File System
10 File System
 
Ch10 file system interface
Ch10   file system interfaceCh10   file system interface
Ch10 file system interface
 
AOS Lab 9: File system -- Of buffers, logs, and blocks
AOS Lab 9: File system -- Of buffers, logs, and blocksAOS Lab 9: File system -- Of buffers, logs, and blocks
AOS Lab 9: File system -- Of buffers, logs, and blocks
 
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
 
Os6
Os6Os6
Os6
 
Course 102: Lecture 5: File Handling Internals
Course 102: Lecture 5: File Handling Internals Course 102: Lecture 5: File Handling Internals
Course 102: Lecture 5: File Handling Internals
 
Ext filesystem4
Ext filesystem4Ext filesystem4
Ext filesystem4
 
File system1.pptx
File system1.pptxFile system1.pptx
File system1.pptx
 
UNIT III.pptx
UNIT III.pptxUNIT III.pptx
UNIT III.pptx
 
File system in operating system e learning
File system in operating system e learningFile system in operating system e learning
File system in operating system e learning
 
File Management & Access Control
File Management & Access Control File Management & Access Control
File Management & Access Control
 
Unix File System
Unix File SystemUnix File System
Unix File System
 
Linuxnishustud
LinuxnishustudLinuxnishustud
Linuxnishustud
 
Unix files
Unix filesUnix files
Unix files
 

More from primeteacher32

Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
primeteacher32
 
Variable Scope
Variable ScopeVariable Scope
Variable Scope
primeteacher32
 
Returning Data
Returning DataReturning Data
Returning Data
primeteacher32
 
Intro to Functions
Intro to FunctionsIntro to Functions
Intro to Functions
primeteacher32
 
Introduction to GUIs with guizero
Introduction to GUIs with guizeroIntroduction to GUIs with guizero
Introduction to GUIs with guizero
primeteacher32
 
Function Parameters
Function ParametersFunction Parameters
Function Parameters
primeteacher32
 
Nested Loops
Nested LoopsNested Loops
Nested Loops
primeteacher32
 
Conditional Loops
Conditional LoopsConditional Loops
Conditional Loops
primeteacher32
 
Introduction to Repetition Structures
Introduction to Repetition StructuresIntroduction to Repetition Structures
Introduction to Repetition Structures
primeteacher32
 
Input Validation
Input ValidationInput Validation
Input Validation
primeteacher32
 
Nesting Conditionals
Nesting ConditionalsNesting Conditionals
Nesting Conditionals
primeteacher32
 
Conditionals
ConditionalsConditionals
Conditionals
primeteacher32
 
Intro to Python with GPIO
Intro to Python with GPIOIntro to Python with GPIO
Intro to Python with GPIO
primeteacher32
 
Variables and Statements
Variables and StatementsVariables and Statements
Variables and Statements
primeteacher32
 
Variables and User Input
Variables and User InputVariables and User Input
Variables and User Input
primeteacher32
 
Intro to Python
Intro to PythonIntro to Python
Intro to Python
primeteacher32
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
primeteacher32
 
Hardware vs. Software Presentations
Hardware vs. Software PresentationsHardware vs. Software Presentations
Hardware vs. Software Presentations
primeteacher32
 
Block chain security
Block chain securityBlock chain security
Block chain security
primeteacher32
 
Hashes
HashesHashes

More from primeteacher32 (20)

Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
 
Variable Scope
Variable ScopeVariable Scope
Variable Scope
 
Returning Data
Returning DataReturning Data
Returning Data
 
Intro to Functions
Intro to FunctionsIntro to Functions
Intro to Functions
 
Introduction to GUIs with guizero
Introduction to GUIs with guizeroIntroduction to GUIs with guizero
Introduction to GUIs with guizero
 
Function Parameters
Function ParametersFunction Parameters
Function Parameters
 
Nested Loops
Nested LoopsNested Loops
Nested Loops
 
Conditional Loops
Conditional LoopsConditional Loops
Conditional Loops
 
Introduction to Repetition Structures
Introduction to Repetition StructuresIntroduction to Repetition Structures
Introduction to Repetition Structures
 
Input Validation
Input ValidationInput Validation
Input Validation
 
Nesting Conditionals
Nesting ConditionalsNesting Conditionals
Nesting Conditionals
 
Conditionals
ConditionalsConditionals
Conditionals
 
Intro to Python with GPIO
Intro to Python with GPIOIntro to Python with GPIO
Intro to Python with GPIO
 
Variables and Statements
Variables and StatementsVariables and Statements
Variables and Statements
 
Variables and User Input
Variables and User InputVariables and User Input
Variables and User Input
 
Intro to Python
Intro to PythonIntro to Python
Intro to Python
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 
Hardware vs. Software Presentations
Hardware vs. Software PresentationsHardware vs. Software Presentations
Hardware vs. Software Presentations
 
Block chain security
Block chain securityBlock chain security
Block chain security
 
Hashes
HashesHashes
Hashes
 

Recently uploaded

一比一原版(kcl毕业证书)英国金斯顿大学毕业证如何办理
一比一原版(kcl毕业证书)英国金斯顿大学毕业证如何办理一比一原版(kcl毕业证书)英国金斯顿大学毕业证如何办理
一比一原版(kcl毕业证书)英国金斯顿大学毕业证如何办理
zukou
 
世预赛买球-世预赛买球下注平台-世预赛买球投注平台|【​网址​🎉ac10.net🎉​】
世预赛买球-世预赛买球下注平台-世预赛买球投注平台|【​网址​🎉ac10.net🎉​】世预赛买球-世预赛买球下注平台-世预赛买球投注平台|【​网址​🎉ac10.net🎉​】
世预赛买球-世预赛买球下注平台-世预赛买球投注平台|【​网址​🎉ac10.net🎉​】
terkesimamishy540
 
一比一原版英国伦敦南岸大学毕业证(LSBU学位证)如何办理
一比一原版英国伦敦南岸大学毕业证(LSBU学位证)如何办理一比一原版英国伦敦南岸大学毕业证(LSBU学位证)如何办理
一比一原版英国伦敦南岸大学毕业证(LSBU学位证)如何办理
zqgk8x
 
一比一原版美国西北大学毕业证(NWU毕业证书)学历如何办理
一比一原版美国西北大学毕业证(NWU毕业证书)学历如何办理一比一原版美国西北大学毕业证(NWU毕业证书)学历如何办理
一比一原版美国西北大学毕业证(NWU毕业证书)学历如何办理
1wful2fm
 
办理阿卡迪亚大学毕业证(uvic毕业证)本科文凭证书原版一模一样
办理阿卡迪亚大学毕业证(uvic毕业证)本科文凭证书原版一模一样办理阿卡迪亚大学毕业证(uvic毕业证)本科文凭证书原版一模一样
办理阿卡迪亚大学毕业证(uvic毕业证)本科文凭证书原版一模一样
kkkkr4pg
 
23. Certificate of Appreciation Ramanji.
23. Certificate of Appreciation Ramanji.23. Certificate of Appreciation Ramanji.
23. Certificate of Appreciation Ramanji.
Manu Mitra
 
一比一原版(uwm毕业证书)美国威斯康星大学密尔沃基分校毕业证如何办理
一比一原版(uwm毕业证书)美国威斯康星大学密尔沃基分校毕业证如何办理一比一原版(uwm毕业证书)美国威斯康星大学密尔沃基分校毕业证如何办理
一比一原版(uwm毕业证书)美国威斯康星大学密尔沃基分校毕业证如何办理
aweuwyo
 
美洲杯投注-美洲杯投注比分-美洲杯投注比分投注|【​网址​🎉ac44.net🎉​】
美洲杯投注-美洲杯投注比分-美洲杯投注比分投注|【​网址​🎉ac44.net🎉​】美洲杯投注-美洲杯投注比分-美洲杯投注比分投注|【​网址​🎉ac44.net🎉​】
美洲杯投注-美洲杯投注比分-美洲杯投注比分投注|【​网址​🎉ac44.net🎉​】
balliuvilla512
 
一比一原版(EUR毕业证)鹿特丹伊拉斯姆斯大学毕业证如何办理
一比一原版(EUR毕业证)鹿特丹伊拉斯姆斯大学毕业证如何办理一比一原版(EUR毕业证)鹿特丹伊拉斯姆斯大学毕业证如何办理
一比一原版(EUR毕业证)鹿特丹伊拉斯姆斯大学毕业证如何办理
nguqayx
 
LACA Nepal Budget 2081-dknfenjnfjnf82.docx
LACA Nepal Budget 2081-dknfenjnfjnf82.docxLACA Nepal Budget 2081-dknfenjnfjnf82.docx
LACA Nepal Budget 2081-dknfenjnfjnf82.docx
YamRajBohara
 
Presentation (5).3b4tb4tbtrgbghrbgvbrgbhrbrebg
Presentation (5).3b4tb4tbtrgbghrbgvbrgbhrbrebgPresentation (5).3b4tb4tbtrgbghrbgvbrgbhrbrebg
Presentation (5).3b4tb4tbtrgbghrbgvbrgbhrbrebg
akhilmgupta0308
 
Untitled presentation.pptx jklyvtguhiohk
Untitled presentation.pptx jklyvtguhiohkUntitled presentation.pptx jklyvtguhiohk
Untitled presentation.pptx jklyvtguhiohk
Excellence Tecnology
 
Tara E Browne, DTM - Administrative Manager (Resume)
Tara E Browne, DTM - Administrative Manager (Resume)Tara E Browne, DTM - Administrative Manager (Resume)
Tara E Browne, DTM - Administrative Manager (Resume)
Tara E. Browne, DTM
 
欧洲杯足彩-欧洲杯足彩买球平台-正规欧洲杯足彩买球平台|【​网址​🎉ac99.net🎉​】
欧洲杯足彩-欧洲杯足彩买球平台-正规欧洲杯足彩买球平台|【​网址​🎉ac99.net🎉​】欧洲杯足彩-欧洲杯足彩买球平台-正规欧洲杯足彩买球平台|【​网址​🎉ac99.net🎉​】
欧洲杯足彩-欧洲杯足彩买球平台-正规欧洲杯足彩买球平台|【​网址​🎉ac99.net🎉​】
brunasordi905
 
Indore ℂall Girl Book 00000000 ℂall Girl Service In Indore
Indore ℂall Girl Book 00000000 ℂall Girl Service In IndoreIndore ℂall Girl Book 00000000 ℂall Girl Service In Indore
Indore ℂall Girl Book 00000000 ℂall Girl Service In Indore
babesbookhot
 
Kolkata call girls +91-8824825030 Vip Escorts Kolkata
Kolkata call girls +91-8824825030 Vip Escorts KolkataKolkata call girls +91-8824825030 Vip Escorts Kolkata
Kolkata call girls +91-8824825030 Vip Escorts Kolkata
akahtar7878787 #V08
 
欧洲杯外围-欧洲杯外围赛程-欧洲杯外围压注|【​网址​🎉ac99.net🎉​】
欧洲杯外围-欧洲杯外围赛程-欧洲杯外围压注|【​网址​🎉ac99.net🎉​】欧洲杯外围-欧洲杯外围赛程-欧洲杯外围压注|【​网址​🎉ac99.net🎉​】
欧洲杯外围-欧洲杯外围赛程-欧洲杯外围压注|【​网址​🎉ac99.net🎉​】
karimimorine448
 
0624.CV_studentscholarandacademic-02.pdf
0624.CV_studentscholarandacademic-02.pdf0624.CV_studentscholarandacademic-02.pdf
0624.CV_studentscholarandacademic-02.pdf
Thomas GIRARD BDes
 
体育博彩论坛-十大体育博彩论坛-体育博彩论坛|【​网址​🎉ac55.net🎉​】
体育博彩论坛-十大体育博彩论坛-体育博彩论坛|【​网址​🎉ac55.net🎉​】体育博彩论坛-十大体育博彩论坛-体育博彩论坛|【​网址​🎉ac55.net🎉​】
体育博彩论坛-十大体育博彩论坛-体育博彩论坛|【​网址​🎉ac55.net🎉​】
waldorfnorma258
 
Khushi Saini, An Intern from The Sparks Foundation
Khushi Saini, An Intern from The Sparks FoundationKhushi Saini, An Intern from The Sparks Foundation
Khushi Saini, An Intern from The Sparks Foundation
khushisaini0924
 

Recently uploaded (20)

一比一原版(kcl毕业证书)英国金斯顿大学毕业证如何办理
一比一原版(kcl毕业证书)英国金斯顿大学毕业证如何办理一比一原版(kcl毕业证书)英国金斯顿大学毕业证如何办理
一比一原版(kcl毕业证书)英国金斯顿大学毕业证如何办理
 
世预赛买球-世预赛买球下注平台-世预赛买球投注平台|【​网址​🎉ac10.net🎉​】
世预赛买球-世预赛买球下注平台-世预赛买球投注平台|【​网址​🎉ac10.net🎉​】世预赛买球-世预赛买球下注平台-世预赛买球投注平台|【​网址​🎉ac10.net🎉​】
世预赛买球-世预赛买球下注平台-世预赛买球投注平台|【​网址​🎉ac10.net🎉​】
 
一比一原版英国伦敦南岸大学毕业证(LSBU学位证)如何办理
一比一原版英国伦敦南岸大学毕业证(LSBU学位证)如何办理一比一原版英国伦敦南岸大学毕业证(LSBU学位证)如何办理
一比一原版英国伦敦南岸大学毕业证(LSBU学位证)如何办理
 
一比一原版美国西北大学毕业证(NWU毕业证书)学历如何办理
一比一原版美国西北大学毕业证(NWU毕业证书)学历如何办理一比一原版美国西北大学毕业证(NWU毕业证书)学历如何办理
一比一原版美国西北大学毕业证(NWU毕业证书)学历如何办理
 
办理阿卡迪亚大学毕业证(uvic毕业证)本科文凭证书原版一模一样
办理阿卡迪亚大学毕业证(uvic毕业证)本科文凭证书原版一模一样办理阿卡迪亚大学毕业证(uvic毕业证)本科文凭证书原版一模一样
办理阿卡迪亚大学毕业证(uvic毕业证)本科文凭证书原版一模一样
 
23. Certificate of Appreciation Ramanji.
23. Certificate of Appreciation Ramanji.23. Certificate of Appreciation Ramanji.
23. Certificate of Appreciation Ramanji.
 
一比一原版(uwm毕业证书)美国威斯康星大学密尔沃基分校毕业证如何办理
一比一原版(uwm毕业证书)美国威斯康星大学密尔沃基分校毕业证如何办理一比一原版(uwm毕业证书)美国威斯康星大学密尔沃基分校毕业证如何办理
一比一原版(uwm毕业证书)美国威斯康星大学密尔沃基分校毕业证如何办理
 
美洲杯投注-美洲杯投注比分-美洲杯投注比分投注|【​网址​🎉ac44.net🎉​】
美洲杯投注-美洲杯投注比分-美洲杯投注比分投注|【​网址​🎉ac44.net🎉​】美洲杯投注-美洲杯投注比分-美洲杯投注比分投注|【​网址​🎉ac44.net🎉​】
美洲杯投注-美洲杯投注比分-美洲杯投注比分投注|【​网址​🎉ac44.net🎉​】
 
一比一原版(EUR毕业证)鹿特丹伊拉斯姆斯大学毕业证如何办理
一比一原版(EUR毕业证)鹿特丹伊拉斯姆斯大学毕业证如何办理一比一原版(EUR毕业证)鹿特丹伊拉斯姆斯大学毕业证如何办理
一比一原版(EUR毕业证)鹿特丹伊拉斯姆斯大学毕业证如何办理
 
LACA Nepal Budget 2081-dknfenjnfjnf82.docx
LACA Nepal Budget 2081-dknfenjnfjnf82.docxLACA Nepal Budget 2081-dknfenjnfjnf82.docx
LACA Nepal Budget 2081-dknfenjnfjnf82.docx
 
Presentation (5).3b4tb4tbtrgbghrbgvbrgbhrbrebg
Presentation (5).3b4tb4tbtrgbghrbgvbrgbhrbrebgPresentation (5).3b4tb4tbtrgbghrbgvbrgbhrbrebg
Presentation (5).3b4tb4tbtrgbghrbgvbrgbhrbrebg
 
Untitled presentation.pptx jklyvtguhiohk
Untitled presentation.pptx jklyvtguhiohkUntitled presentation.pptx jklyvtguhiohk
Untitled presentation.pptx jklyvtguhiohk
 
Tara E Browne, DTM - Administrative Manager (Resume)
Tara E Browne, DTM - Administrative Manager (Resume)Tara E Browne, DTM - Administrative Manager (Resume)
Tara E Browne, DTM - Administrative Manager (Resume)
 
欧洲杯足彩-欧洲杯足彩买球平台-正规欧洲杯足彩买球平台|【​网址​🎉ac99.net🎉​】
欧洲杯足彩-欧洲杯足彩买球平台-正规欧洲杯足彩买球平台|【​网址​🎉ac99.net🎉​】欧洲杯足彩-欧洲杯足彩买球平台-正规欧洲杯足彩买球平台|【​网址​🎉ac99.net🎉​】
欧洲杯足彩-欧洲杯足彩买球平台-正规欧洲杯足彩买球平台|【​网址​🎉ac99.net🎉​】
 
Indore ℂall Girl Book 00000000 ℂall Girl Service In Indore
Indore ℂall Girl Book 00000000 ℂall Girl Service In IndoreIndore ℂall Girl Book 00000000 ℂall Girl Service In Indore
Indore ℂall Girl Book 00000000 ℂall Girl Service In Indore
 
Kolkata call girls +91-8824825030 Vip Escorts Kolkata
Kolkata call girls +91-8824825030 Vip Escorts KolkataKolkata call girls +91-8824825030 Vip Escorts Kolkata
Kolkata call girls +91-8824825030 Vip Escorts Kolkata
 
欧洲杯外围-欧洲杯外围赛程-欧洲杯外围压注|【​网址​🎉ac99.net🎉​】
欧洲杯外围-欧洲杯外围赛程-欧洲杯外围压注|【​网址​🎉ac99.net🎉​】欧洲杯外围-欧洲杯外围赛程-欧洲杯外围压注|【​网址​🎉ac99.net🎉​】
欧洲杯外围-欧洲杯外围赛程-欧洲杯外围压注|【​网址​🎉ac99.net🎉​】
 
0624.CV_studentscholarandacademic-02.pdf
0624.CV_studentscholarandacademic-02.pdf0624.CV_studentscholarandacademic-02.pdf
0624.CV_studentscholarandacademic-02.pdf
 
体育博彩论坛-十大体育博彩论坛-体育博彩论坛|【​网址​🎉ac55.net🎉​】
体育博彩论坛-十大体育博彩论坛-体育博彩论坛|【​网址​🎉ac55.net🎉​】体育博彩论坛-十大体育博彩论坛-体育博彩论坛|【​网址​🎉ac55.net🎉​】
体育博彩论坛-十大体育博彩论坛-体育博彩论坛|【​网址​🎉ac55.net🎉​】
 
Khushi Saini, An Intern from The Sparks Foundation
Khushi Saini, An Intern from The Sparks FoundationKhushi Saini, An Intern from The Sparks Foundation
Khushi Saini, An Intern from The Sparks Foundation
 

Examining Linux File Structures

  • 2. Examining Linux File Structures • UNIX flavors • Silicon Graphics, Inc. (SGI) IRIX, Santa Cruz Operation (SCO) UnixWare, Sun Solaris, IBM AIX, and HP-UX • Linux distributions • Ubuntu, Debian, Red Hat, OpenSUSE, and Slackware • Linux is only the core of the OS • All UNIX-like OSs have a kernel • So do all Windows OSs
  • 3. Examining Linux File Structures
  • 4. Examining Linux File Structures
  • 5. File Structures in Ext4 • The early file system standard was Second Extended File System (Ext2) • Third Extended File System (Ext3) replaced Ext2 in most Linux distributions • Fourth Extended File System (Ext4) added support for partitions larger than 16 TB • Improved management of large files and offered more flexibility • Adoption of Ext4 was slower in some Linux distributions • Everything is a file • Files are objects with properties and methods
  • 6. File Structures in Ext4 Consists of four components • Boot block • Block is a disk allocation unit of at least 512 bytes • Contains the bootstrap code • UNIX/Linux computer has only one boot block, located on the main hard disk • Superblock • Indicates disk geometry, available space, and location of the first inode • Manages the file system • Inode blocks • First data after the superblock • Assigned to every file allocation unit • Data blocks • Where directories and files are stored • This location is linked directly to inodes
  • 7. Inodes • Contain file and directory metadata • Also link data stored in data blocks • An assigned inode contains the following: • Mode and type of file or directory • Number of links to a file or directory • UID and GID of the file’s or directory’s owner • Number of bytes in the file or directory • File’s or directory’s last access time and last modified timeInode’s last file status change time • Block address for the file data • Indirect, double-indirect, and triple-indirect block addresses for the file data • Current usage status of the inode • Number of actual blocks assigned to a file • File generation number of version number • Continuation inode’s link
  • 8. Inodes • First inode has 13 pointers • Pointers 1 to 10 are direct pointers to data storage blocks • Pointer 11 is an indirect pointer • Links to 128 pointer inodes and each pointer links directly to 128 blocks • Pointer 12 is a double-indirect pointer • Pointer 13 is a triple-indirect pointer • Bad block inode • Keeps track of disk’s bad sectors
  • 9. Hard Links and Symbolic Links Hard link • A pointer that allows accessing the same file by different filenames • Use the ln command to create a hard link Symbolic links • Pointers to other files and aren’t included in the link • Have an inode of their own • Not the same as the inode of the item they are pointing to • Depend on the existence of the destination they are pointing to
  • 10. Summary • UNIX was created to be a multiuser, multithreaded, secure OS • The Linux kernel is usually packaged with other software components, such as a GUI and applications • Linux supports a wide range of file systems • UNIX and Linux have four components defining the file system: boot block, superblock, inode block, and data block • In the Linux file system, a hard link is a pointer that allows accessing the same file by different filenames