Solved

How to run fsck to report errors only

Posted on 2012-12-31
2
464 Views
Last Modified: 2012-12-31
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.
0
Comment
Question by:kerzner
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 38732912
Try

fsck -n ...

(lowercase "n").

If this is not supported by your fsck try

yes "n" | fsck -r ...
0
 
LVL 1

Author Closing Comment

by:kerzner
ID: 38732990
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 :)
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question