How to run fsck to report errors only

kerzner
kerzner used Ask the Experts™
on
Hi, experts,

I want to run fsck but only report error, not change anything on a hard drive. I tried -N option, but that does not do anything at all, only says what it will check.

Thank you.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2013
Top Expert 2013
Commented:
Try

fsck -n ...

(lowercase "n").

If this is not supported by your fsck try

yes "n" | fsck -r ...

Author

Commented:
Yes, thank you, I figured it out meanwhile (not a very popular option, I wonder why), but it is comforting to have support.... and ruin anything :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial