[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Check whether fsck would run



also sprach gustavo panizzo (gfa) <gfa@zumbi.com.ar> [2014-12-16 03:29 +0100]:
> you can take a look what ubuntu does, on
> /usr/lib/update-notifier/update-motd-fsck-at-reboot
>
> basically it runs dumpe2fs and parse the max mount count and fsck
> interval time, it compares it to how many mounts and how long
> since last fsck

Yeah, and I would like to avoid using such hacks in Debian.

http://bugs.debian.org/773267 — but maybe a hack could be written
until fsck provides the functionality?

Could you paste the script somewhere? I don't use Ubuntu.

-- 
 .''`.   martin f. krafft <madduck@d.o> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
 
"the college students who are using lsd and marijuana today do not
 comprise a criminal class. they are not drug addicts seeking to
 escape. they're your best educated, your most creative, and your
 most couragious, young people. and like it or not, they might build
 you a new civilisation."               -- porcupine tree, voyage 34

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Reply to: