PROGRAMS

fsck (File System Consistency checK)

Article by:

Overview

Sometimes you are asked to run fsck manually when a UNIX system boots and presents you with the error:

 1  UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY 

Automatic Yes To Everything

If you are repairing a hard drive with lots of errors, if can become tedious to manually say “yes” to each one. Instead, you can provide fsck with the -y option, which will automatically approve all changes. This is called non-interactive mode:

 1  ~\$ fsck -y /dev/sda1 

Authors

Geoffrey Hunter

Dude making stuff.