linux file systems
DESCRIPTION
Presented By: Dan Aird Tyler Benson Michael Moore Brad Yates. Linux File Systems. A. General Linux File Systems 1. File Structure 2. Supported File Systems 3. Inodes 4. Drivers B. UnionFS 1. Structure 2. Uses 2. How it works. Linux File Systems. Linux File Structure. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/1.jpg)
Linux File Systems
Presented By:
Dan AirdTyler Benson
Michael MooreBrad Yates
![Page 2: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/2.jpg)
A. General Linux File Systems1. File Structure2. Supported File Systems 3. Inodes4. Drivers
B. UnionFS1. Structure2. Uses2. How it works
Linux File Systems
![Page 3: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/3.jpg)
● Tree like structure● Unified File System
– Has one root (/)– (Windows has a different root for each
device: A, B, C, D…)
Linux File Structure
![Page 4: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/4.jpg)
This could be a network
drive
This is in Memory
![Page 5: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/5.jpg)
Multiple file systems, same directory structure.
![Page 6: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/6.jpg)
• 9p2000• ADFS• AFS• Amega FFS• Amega SFS• BeOSFS• BFS• CIFS• CODAFS• CramFS• EFS• ext2• ext3• FAT16• FAT32• Free Vx FS
• GFS• GFS2• HFS• HFS+• HugeTLB• ISO 9660 (CD
ROM)• JBD• JFFS• JFFS2• JFS• MINIXFS• NCP• NFS• NTFS
• OCFS2• OS2 HPFS• PROCFS• QNX4• Reiserfs• ROMFS• SHMFS• SMB• SquashFS• UDF• UFS• UNIONFS• XENIX FS• XFS• Many other through
FUSE
Supported File Systems
![Page 7: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/7.jpg)
● Stores basic information about a file, directory or other file system object
● Identified by an inode number● Fixed number of inodes in a file system● Inode can be identified using “ls -i”● Inodes do not include filenames, instead
relies on a link structure
Inodes
![Page 8: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/8.jpg)
What is stored in an inode?
● User and Group ownership● Access mode● File type
![Page 9: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/9.jpg)
How do inodes work?
● Indexes a table of inodes in a known location
● Using the inode number the kernel can access the contents of the inode including data pointers
![Page 10: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/10.jpg)
Data Structure
● http://en.wikipedia.org/wiki/Inode
![Page 11: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/11.jpg)
Device Drivers
● Built into the kernel● Interface between kernel and device
![Page 12: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/12.jpg)
Linux Device Drivers
![Page 13: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/13.jpg)
● http://mail.opensolaris.org/pipermail/install-discuss/2007-January/001577.html
UnionFS
![Page 14: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/14.jpg)
What uses UnionFS?
● Knoppix since v3.8● Ubuntu LiveCD (Hoary)● Da[a-z]{2} Small Linux● Most Live CDs
![Page 15: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/15.jpg)
![Page 16: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/16.jpg)
![Page 17: Linux File Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062723/5681400c550346895dab4571/html5/thumbnails/17.jpg)