File Systems
File Systems
4th Floor, R R Plaza, #1-48/243, Plot No.243, Kavuri Hills, Madhapur, Hyderabad, Telangana – 500081
APIC – Training
4th Floor, R R Plaza, #1-48/243, Plot No.243, Kavuri Hills, Madhapur, Hyderabad, Telangana – 500081
APIC – Training
2.ext2:
Developed in the year of 1993
Non journaling file system, preferred to be used with flash disks
and SSD’s.
As it is a non journaling file system, it takes long time to boot.
3.Xiafs:
Also developed in 1993
4th Floor, R R Plaza, #1-48/243, Plot No.243, Kavuri Hills, Madhapur, Hyderabad, Telangana – 500081
APIC – Training
4.ext3:
Developed in 1999
It is a journaling file system.
Faster and more reliable than ext2, and doesn’t have boot delay
issues.
5.JFS:
Journaled file system
Orginally developed by IBM in the year of 1990.
Made open-source and adopted to linux in 1999
But is not commonly used after the release of ext4 in 2006.
6.ReieserFS:
Developed in 2001
Has features like B+ trees.
Default filesystem for SUSE Linux 6.4 until the release of ext4 in
2006.
4th Floor, R R Plaza, #1-48/243, Plot No.243, Kavuri Hills, Madhapur, Hyderabad, Telangana – 500081
APIC – Training
7.XFS:
64-bit journaling file system.
Used as default file system for many linux distributions.
8.Ext4
The fourth ext developed in 2006, is a journaling file system. It
has backward compatibility with ext3 and ext2 and it provides
several other features.
9.Reiser4:
Improved version of reiserFS, developed in 2004.
But not widely adopted.
4th Floor, R R Plaza, #1-48/243, Plot No.243, Kavuri Hills, Madhapur, Hyderabad, Telangana – 500081
APIC – Training
4th Floor, R R Plaza, #1-48/243, Plot No.243, Kavuri Hills, Madhapur, Hyderabad, Telangana – 500081
APIC – Training
4th Floor, R R Plaza, #1-48/243, Plot No.243, Kavuri Hills, Madhapur, Hyderabad, Telangana – 500081
APIC – Training
Compressing a file
For compressing we use tar and gz commands.
Tar cvf <compresing filename>.tar <file1> <file2>
gzip <compresing filename>.tar
Decompressing a file:
gunzip <compressed file>.tar.gz
tar xvf <compressed file>.tar
1.find:
4th Floor, R R Plaza, #1-48/243, Plot No.243, Kavuri Hills, Madhapur, Hyderabad, Telangana – 500081
APIC – Training
Where,
Sample commands:
find /home -group ftpusers
4th Floor, R R Plaza, #1-48/243, Plot No.243, Kavuri Hills, Madhapur, Hyderabad, Telangana – 500081
APIC – Training
To find all *.c file belongs to a group called “ftpusers” in /data/project directory,
run:
# find /data/project -group ftpusers -name "*.c"
4th Floor, R R Plaza, #1-48/243, Plot No.243, Kavuri Hills, Madhapur, Hyderabad, Telangana – 500081
APIC – Training
rm -r /path/to/directory/*
4th Floor, R R Plaza, #1-48/243, Plot No.243, Kavuri Hills, Madhapur, Hyderabad, Telangana – 500081