![]() This option causes e2fsck to try to optimizeĪll directories, either by reindexing them if the filesystem supports directory d Print debugging output (useless unless you are debugging e2fsck). ![]() This requires that e2fsck is running on a video console or terminal. Specified is 0, e2fsck will print a completion bar as it goes about its business. It can later beĮnabled by sending the e2fsck process a SIGUSR1 signal. Used, and the progress information will be suppressed initially. If the fileĭescriptor number is negative, then absolute value of the file descriptor will be Option is typically used by programs which are running e2fsck. C fd This option causes e2fsck to write completion information to the specified fileĭescriptor so that the progress of the filesystem check can be monitored. If this option is specified twice, then the bad block scan will be done If any bad blocks are found, they areĪdded to the bad block inode to prevent them from being allocated to a file orĭirectory. c This option causes e2fsck to use badblocks(8) program to do a read-only scan of theĭevice in order to find any bad blocks. If the superblock is not found, e2fsck will terminate with a This option forces e2fsck to only try locating the superblock at a Normally, e2fsck will search for the superblock at various different block sizes inĪn attempt to find the appropriate block size. Only, e2fsck will make sure that the primary superblock is updated appropriately If an alternative superblock is specified and the filesystem is not opened read. Supplied with arguments that are consistent with the filesystem's layout (e.g.īlocksize, blocks per group, sparse_super, etc.). The -n option to print out where the superblocks exist, supposing mke2fs is The location of backup superblocks is dependent on the filesystem'sīlocksize, the number of blocks per group, and features such as sparse_super.Īdditional backup superblocks can be determined by using the mke2fs program using This option is normally used when the primary superblock has beenĬorrupted. Instead of using the normal superblock, use an alternative superblock specified by It is provided for backwardsĬompatibility only it is suggested that people use -p option whenever possible. OPTIONS -a This option does the same thing as the -p option. Pressing Control-C terminates e2fsck immediately. 'y' will fix the error 'n' will leave the error unfixed and 'a' will fix the problem andĪll subsequent problems pressing Enter will proceed with the default response, which is The program will ask the user to fix each problem found in the filesystem. If e2fsck is run in interactive mode (meaning that none of -y, -n, or -p are specified), Only experts who really know what they areĭoing should consider answering this question in any other way. ![]() Is mounted, the only correct answer is ``no''. If e2fsck asks whether or not you should check a filesystem which However, even if it is safe to do so, the results printed by e2fsck are not valid if theįilesystem is mounted. The onlyĮxception is if the -n option is specified, and -c, -l, or -L options are not specified. Note that in general it is not safe to run e2fsck on mounted filesystems. Will normally replay the journal and exit, unless its superblock indicates that furtherĭevice is a block device (e.g., /dev/sdc1) or file containing the file system. Hence, for filesystems that use journalling, e2fsck For ext3 and ext4įilesystems that use a journal, if the system has been shut down uncleanly without anyĮrrors, normally, after replaying the committed transactions in the journal, the file C fd ] device DESCRIPTION e2fsck is used to check the ext2/ext3/ext4 family of file systems. E2fsck - check a Linux ext2/ext3/ext4 file system ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |