این دستور extended دوم (ext2) فایل سیستم یک کامپیوتر لینوکسی را بررسی میکند.
نحوه استفاده از از e2fsck :
e2fsck [options]
در جایی استفاده میشود که نام فایل یک storage device مانت شده(Mounted) باشد. به عنوان مثال : /dev/sda1
بعضی از Option های مهمی که در دستور e2fsck استفاده میشود به شرح زیر است :
Option | توضیحات |
-p | This command is used to automatically preen (repair) the file system without prompting any question to the user. |
-b | This command uses the alternative superblock specified by . This option is normally used when the primary superblock has been corrupted. |
-c | This option is used to find the bad blocks in a file system. |
-f | This option is used to enforce the command to check the file system even if the file system seems clean |