1. file system focus on files and data management.
2. create file system usually called formatting.
3. A device without file system called raw device
4. fat32,NTFS,ext2/3/4,HFS
information of a file system: log, partition size, single file max size, performance.
5. create file systemmke2fs -t type /dev/sdb3
-b blocksize 4k/size
-c check bad
-L label specify volumn
-j build log file
mkfs.[ext3|ext4] /dev/sdb3 without options.
6. dumpe2fs /dev/sdb3 get the information of file system
7. system log. Journal ext3/4, except ext2
statiable, 2 step when write disk
7.1. write the opertation to journal
7.2. do operation
7.3. delete this operation journal when success.
8. e2lable build a new label of a partition
e2label /dev/sdb1 lable_name
9. fsck check and retrieve the file system, must be in umount status.
fsck /dev/sdb1
the retrieved file will be put in /lost+found.