File System
A filesystem is the methods and data structures that an operating system uses to keep track of files on a disk or partition; that is, the way the files are organized on the disk. The word is also used to refer to a partition or disk that is used to store the files or the type of the filesystem.
Creating File System in Console
Create a linux file system
Command
mke2fs /dev/sda1
Initialize swap partition
Command
mkswap /dev/sda1
Checking File System
Check Integrity of Linux File System
Command
e2fsck -f /dev/sda1
Check Bad Blocks & Errors
Command
e2fsck -f -c -p /dev/sda1