#fsck#

#

@mick_collins

#Linux #fsck

`# fsck -y /dev/sda1`

The fsck command needs to be run with superuser privileges or root.

After running `fsck`, it will return an exit code. These codes can be seen in fsck’s manual by running:

`# man fsck`

0 No errors
1 Filesystem errors corrected
2 System should be rebooted
4 Filesystem errors were left uncorrected
8 Operational error
16 Usage or syntax error
32 Checking canceled by user request
128 Shared-library error

tecmint.com/fsck-repair-file-s

[Link zum Post](https://mastodon.ml/@ashed/113235781297887312)