showfsck-1.4ubuntu3/0000755000175000017500000000000011171344012013455 5ustar bobbobobboshowfsck-1.4ubuntu3/showfsck0000755000175000017500000000147411171345457015256 0ustar bobbobobbo#!/bin/sh set -e export LC_ALL=C for part in `cat /proc/mounts | grep " ext[234]" | cut -d \ -f 1 | sort | uniq`; do tune2fs -l $part > /dev/null 2>&1 || { echo "Unable to access information for $part" continue } MC=$(tune2fs -l $part | awk '/^Mount count:/ {print $3}') MMC=$(tune2fs -l $part | awk '/^Maximum mount count:/ {print $4}') NB=$(expr $MMC - $MC + 1) if [ $NB = 1 ]; then echo "***************************" echo "***************************" echo "* fsck at next mount for $part" echo "***************************" echo "***************************" elif [ $NB -le 5 ]; then echo "***************************" echo "* $NB * /$MMC mount(s) until fsck for $part" echo "***************************" else echo "$NB/$MMC mount(s) until fsck for $part" fi done showfsck-1.4ubuntu3/debian/0000755000175000017500000000000011171344715014711 5ustar bobbobobboshowfsck-1.4ubuntu3/debian/control.in0000644000175000017500000000120611175621167016723 0ustar bobbobobboSource: showfsck Section: utils Priority: optional Maintainer: Ubuntu MOTU Developers XSBC-Original-Maintainer: Vincent Danjean Standards-Version: 3.8.0 Build-Depends-Indep: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0) Package: showfsck Architecture: all Depends: ${shlibs:Depends} Description: 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) showfsck-1.4ubuntu3/debian/compat0000644000175000017500000000000207760174731016117 0ustar bobbobobbo4 showfsck-1.4ubuntu3/debian/control0000644000175000017500000000120011175621154016304 0ustar bobbobobboSource: showfsck Section: utils Priority: optional Maintainer: Ubuntu MOTU Developers XSBC-Original-Maintainer: Vincent Danjean Standards-Version: 3.8.0 Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0) Package: showfsck Architecture: all Depends: ${shlibs:Depends} Description: 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) showfsck-1.4ubuntu3/debian/copyright0000644000175000017500000000044510753364131016646 0ustar bobbobobboThis package was debianized by Vincent Danjean on Sun, 23 Nov 2003 19:02:50 +0100. Author(s): Vincent Danjean David Futcher Copyright: See /usr/share/common-licenses/GPL on your Debian system. showfsck-1.4ubuntu3/debian/init.d0000644000175000017500000000142607760201025016017 0ustar bobbobobbo#!/bin/sh # # This file was automatically customized by debmake on Sun, 23 Nov 2003 19:02:50 +0100 # # Written by Miquel van Smoorenburg . # Modified for Debian GNU/Linux by Ian Murdock . # Modified for Debian by Christoph Lameter PATH=/bin:/usr/bin:/sbin:/usr/sbin DAEMON=/usr/sbin/showfsck # The following value is extracted by debstd to figure out how to generate # the postinst script. Edit the field to change the way the script is # registered through update-rc.d (see the manpage for update-rc.d!) FLAGS="defaults 95" test -f $DAEMON || exit 0 case "$1" in start|stop|restart|force-reload) $DAEMON ;; *) echo "Usage: /etc/init.d/showfsck {start|stop|restart|force-reload}" exit 1 ;; esac exit 0 showfsck-1.4ubuntu3/debian/dirs0000644000175000017500000000001107760176333015575 0ustar bobbobobbousr/sbin showfsck-1.4ubuntu3/debian/changelog0000644000175000017500000000402211175621333016557 0ustar bobbobobboshowfsck (1.4ubuntu4) karmic; urgency=low * showfsck: Update to show information on ext4 partitions (LP: #361619) * Bump debian standards version to 3.8.0 -- David Futcher Wed, 15 Apr 2009 12:43:29 +0100 showfsck (1.4ubuntu3) intrepid; urgency=low * Remove unneeded files /b and /c (debug files generated by the script) (LP: #194391) -- David Futcher Sat, 19 Jul 2008 11:19:32 +0100 showfsck (1.4ubuntu2) hardy; urgency=low [ David Futcher ] * Made script shell-agnostic (LP: #188070) * showfsck: Fixed grammar error in error message * Fixed debian/copyright [ Daniel Hahler ] * debian/control: fix lintian warning/errors: - Standards-Version 3.7.3 - Move cdbs, debhelper from Build-Depends-Indep to Build-Depends -- Daniel Hahler Sat, 09 Feb 2008 19:00:00 +0100 showfsck (1.4ubuntu1) hardy; urgency=low * Merge with showfsck-1.4 upstream (LP: #181775) * Bump Debian standards version -- David Futcher Thu, 10 Jan 2008 15:38:40 +0000 showfsck (1.3ubuntu1) hardy; urgency=low * Fixed man page (LP: #66174) * showfsck: Fixed spelling/grammar in error message * Edited maintainer field to conform with DebianMaintainerField specification -- David Futcher Sat, 08 Dec 2007 20:33:16 +0000 showfsck (1.3) unstable; urgency=low * dump to current debian standard -- Vincent Danjean Fri, 21 Jan 2005 16:23:17 +0100 showfsck (1.2) unstable; urgency=low * Look for partitions in /proc/mounts instead of mount commands * Specific message for fsck at next reboot -- Vincent Danjean Fri, 9 Jul 2004 14:01:14 +0200 showfsck (1.1) unstable; urgency=low * Correct number of reboot before fsck (+1) -- Vincent Danjean Wed, 3 Dec 2003 11:24:49 +0100 showfsck (1.0) unstable; urgency=low * Initial release. -- Vincent Danjean Sun, 23 Nov 2003 19:02:50 +0100 showfsck-1.4ubuntu3/debian/rules0000755000175000017500000000055210423427257015775 0ustar bobbobobbo#!/usr/bin/make -f # Let cdbs track the build-dep for me #debian/control:: debian/control.in debian/rules #DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes # debhelper fisrt as recommended include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/makefile.mk DEB_MAKE_INSTALL_TARGET:=install DESTDIR=$(DEB_DESTDIR) DEB_UPDATE_RCD_PARAMS:="defaults 95" showfsck-1.4ubuntu3/debian/showfsck.manpages0000644000175000017500000000001307760201541020245 0ustar bobbobobboshowfsck.8 showfsck-1.4ubuntu3/Makefile0000644000175000017500000000007710741435640015133 0ustar bobbobobbo all: install: install -m 755 showfsck $(DESTDIR)/usr/sbin showfsck-1.4ubuntu3/showfsck.80000644000175000017500000000057410726572551015423 0ustar bobbobobbo.TH SHOWFSCK 8 .SH NAME showfsck \- Show the number of reboots until a forced fsck .SH SYNOPSIS .B showfsck .SH "DESCRIPTION" Showfsck is a program that will show the number of reboots before .I fsck is forced on the volume. .SH AUTHOR This manual page was written by David Futcher ('bobbo') , for the Ubuntu GNU/Linux system (but may be used by others).