How to show the number of reboots before next forced fsck Using showfsck

Sponsored Link
show the number of reboots before next forced fsck.This package displays during startup and halt the number of mounts for each ext2/3 partition before an fsck will be forced, so that the user will not be suprised.Very useful for people that often reboot (laptop users for example).

What is Fsck ?

The system utility fsck (for "file system check" or "file system consistency check") is a tool for checking the consistency of a file system in the Unix system and clones thereof.

Generally, fsck is run automatically at boot time when the system detects that a file system is in an inconsistent state, indicating a non-graceful shutdown, such as a crash or power loss. Typically, fsck utilities provide options for interactively repairing damaged file systems (the user must decide how to fix specific problems), allowing fsck to decide how to fix specific problems (so the user doesn't have to answer any questions), or reviewing the problems that need to be resolved on a file system without actually fixing them.

Install showfsck in Ubuntu

sudo apt-get install showfsck

This will complete the installation

Using showfsck

If you want to see the number of reboots before next forced fsck using the following command


output looks similar to the following

15/30 mount(s) until fsck for /dev/disk/by-uuid/edadb298-aae6-4549-b5dc-55c6184fdbc4

You can also use bonager tool for this if you want to check how to do this using bonager check here

Related posts

You may also like...

2 Responses

  1. Matthew says:

    I had to use “sudo showfsck” in order for this to work.

  2. kendon says:

    +1 for the sudo thing.

Leave a Reply

Your email address will not be published.