linux file systems

17
Linux File Systems Presented By: Dan Aird Tyler Benson Michael Moore Brad Yates

Upload: helki

Post on 09-Jan-2016

36 views

Category:

Documents


4 download

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 Presentation

TRANSCRIPT

Page 1: Linux File Systems

Linux File Systems

Presented By:

Dan AirdTyler Benson

Michael MooreBrad Yates

Page 2: Linux File Systems

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

● 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

This could be a network

drive

This is in Memory

Page 5: Linux File Systems

Multiple file systems, same directory structure.

Page 6: Linux File Systems

• 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

● 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

What is stored in an inode?

● User and Group ownership● Access mode● File type

Page 9: Linux File Systems

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

Data Structure

● http://en.wikipedia.org/wiki/Inode

Page 11: Linux File Systems

Device Drivers

● Built into the kernel● Interface between kernel and device

Page 12: Linux File Systems

Linux Device Drivers

Page 13: Linux File Systems

● http://mail.opensolaris.org/pipermail/install-discuss/2007-January/001577.html

UnionFS

Page 14: Linux File Systems

What uses UnionFS?

● Knoppix since v3.8● Ubuntu LiveCD (Hoary)● Da[a-z]{2} Small Linux● Most Live CDs

Page 15: Linux File Systems
Page 16: Linux File Systems
Page 17: Linux File Systems