What Is Linux E2Fsck Command?
Contents

e2fsck is used to check the ext2/ext3/ext4 family of file systems. … Hence, for filesystems that use journalling, e2fsck will normally replay the journal and exit, unless its superblock indicates that further checking is required. device is a block device (e.g., /dev/sdc1) or file containing the file system.

How do I check my e2fsck progress?

Display a progress bar during e2fsck check. Using -C option, you can specify a file descriptor, where e2fsck will send the output, which is useful when you are doing e2fsck from a shell script.

How does fsck work Linux?

fsck checks that all the blocks marked as free are not claimed by any files. When all the blocks have been accounted for, fsck checks to see if the number of free blocks plus the number of blocks claimed by the inodes equal the total number of blocks in the file system.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest