Ubuntu Geek

Ubuntu Linux Tutorials,Howtos,Tips & News | Gutsy,Hardy,Intrepid

  • RSS Feed

    subscribe to the ubuntu Geek RSS feed

  • Follow Us on Twitter

  • Sponsor


  • Categories

  • Meta

  • Sponsor

  • Archives

  • Support Ubuntugeek

    Amount $:
    Website(Optional):


  • Favourite Sites

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

Posted by admin on July 5th, 2007 Email This Post Email This Post

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

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

showfsck

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

Share/Save/Bookmark

Related Articles

2 Responses to “How to show the number of reboots before next forced fsck Using showfsck”

  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

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>