First, the simple operation of the file system
1, DF: Disk and directory capacity DF [-ahikhtm] directory or file name
-H: Display in GB, MB, KB and other formats that are easier for people to read
-I: No hard disk capacity, and the number of Inode is displayed
2. Du: Disk and directory Capacity du [-ahskm] file or directory name
-S: List totals only,
-H: Display in GB, MB, KB and other formats that are easier for people to read
3, DUMPE2FS: View the information of each section and Superblock
4. LN: Connection file ln [-SF] source file
-S: If you do not add any parameters to the connection is a hard connection,-S is a symbolic connection
5, EXT2 file system mainly includes boot Sector,superblock,inode bitmap,block bitmap, inode table,data block six parts.
partition, format, test and mount the disk
1. FDISK: Disk partition Fdisk [-1] Device name
2. MKFS: Disk Format mkfs [-t file system format] device file name
3. fsck: Disk Check fsck [-t file system] [-acay] Device name
4. Mount: Disk mount and unload mount device name mount point
5. Umount: Disk Offload umount [-FN] device file name or mount point
-F: Force Mount-N: Uninstall without update
6. Mknod: Disk parameter modification mknod device name [bcp] [Major] [Minor]
Parameter: B, set the device name to be an external storage device file, such as a hard disk
C. Set the device name to be an external input device file, such as mouse/keyboard
P, set the device name to become a FIFO file
Major Master Device Code Minor This device code
Linux disk and File System Management (note)