1.tune2fs -l /dev/device -l: View information in the Super block -L Lable: Set volume label -m: Reserve Administrator's Space -j: If the original file system is ext2,-j can promote it to ext3 -o: Set Default mount Options -o: Adjust partition features 2.fsck fix File system error     -T: TSTYPE    -A: Auto Fix error -r: Interactive Fix error 3. modifying swap partitions mkswap /dev/DEVICE -l: Specify volume label 4. Enable swap partition swapon -a: Mark all swap partitions as enabled -p#: Specify Priority swapoff -a: Disable all swap partitions 5.hdparm get/Set hard drive parameters -i: Displays the driver basic information &Nbsp;-i: Display Drive Details -g: Displays the drive geometry value (cylinder, head, sector) and start sector     -T: evaluates the read efficiency of the hard drive ( Do not go through disk cache) -t: Read efficiency of the flat-drive 6. Mount Support for mounted devices in manual mount, on-demand mount, auto-mount (etc/fstab) mount [options] -t fstype -o option -o option Enable partition feature on Mount /proc/mounts,/etc/mtab view features mount points: Raw data is temporarily hidden 1. Option Anti-space idle path             2. Prior to existence tune2fs -o mount -option Equipment tune2fs -0 ^mount -option Cancel default Mount Properties CD Mount /dev/cdrom /dev/dvd /dev/sr0 -t iso9600 7.df Disk usage Space Status report -h: human-readabel use  GB, mb and other easy-to-read formats in the file system size - I: View current file system inode usage case       -P: output format is posix [option] [device] Displays information about individual partitions 8.du evaluate file usage of disk space - S: Show only the sum of each file size -h: File size using easy-to-read formats such as GB,MB
Linux Fundamentals 14