170 likes | 350 Views
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.
E N D
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 • Tree like structure • Unified File System • Has one root (/) • (Windows has a different root for each device: A, B, C, D…)
This is in Memory This could be a network drive
Supported File Systems • 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 • 9p2000 • ADFS • AFS • Amega FFS • Amega SFS • BeOSFS • BFS • CIFS • CODAFS • CramFS • EFS • ext2 • ext3 • FAT16 • FAT32 • Free Vx FS
Inodes • 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
What is stored in an inode? • User and Group ownership • Access mode • File type
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
Data Structure • http://en.wikipedia.org/wiki/Inode
Device Drivers • Built into the kernel • Interface between kernel and device
UnionFS • http://mail.opensolaris.org/pipermail/install-discuss/2007-January/001577.html
What uses UnionFS? • Knoppix since v3.8 • Ubuntu LiveCD (Hoary) • Da[a-z]{2} Small Linux • Most Live CDs