Function Description: Check the file system and try to fix the error.
Grammar: fsck.ext2&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-acdffnprsstvvy] [B < zoning first magnetic field address] [B < block size] [-C < anti-narrator] [-I <inode buffer block number] [-l/l < damaged block file] [-p < processing inode size] [Peripheral Device Code]
Supplemental Note: When an error occurs in the Ext2 file system, the FSCK.EXT2 directive can be used to try to fix it.
Parameters:
-A automatically fixes the file system without asking for any questions.
-b< partition First Magnetic address > Specifies the starting address of the first field of the partition, that is, super block.
-b< Chunk Size > Sets the size of each chunk of the partition.
-c checks for damaged chunks within the specified file system.
-c< Counter-Narrator > Specifies the counter-narrator, the fsck.ext2 instruction will leave the entire execution process to its reverse narration, easy to debug or monitor the execution of the situation.
-d details the instruction execution process to facilitate error-making or analysis of the execution of the program.
-F enforces a complete check of the file system, even though the filesystem is not subject to a modest check.
-F before checking the file system, clean the data in the block area of the save device.
-i<inode buffer block number > Set the number of blocks in the inode buffer to check the file system.
-l< damage block files > The blocks listed in the file as broken blocks and labeled to prevent applications from using the block.
-l< corrupted chunk File > This parameter is similar to the specified "-l" parameter, but before the damaged chunk file is marked for damage, it is clear that the previously marked damage block is fully reset, rather than just adding a new damaged block.
-N Sets the file system to be read-only and closes the interactive mode, rejecting all questions asked.
-P The effect of this parameter is the same as the specified "-a" argument.
-p< processing inode size > Setting FSCK.EXT2 instructions can handle the size of the inode.
-r This parameter ignores no processing and is only responsible for resolving compatibility issues.
-S to exchange the contents of each pair of bytes when checking the file system.
-S The effect of this parameter is similar to the specified "-S" parameter, but the contents of each pair of bytes are exchanged regardless of whether the file system is already a standard bit order.
-T displays timing information for the FSCK.EXT2 instruction.
-V details the instruction execution process.
-V Displays version information.
-Y Closes the interactive mode and agrees to all questions asked.