Comment 22 for bug 692355

maletin (maletin) wrote :

# dumpe2fs -h /dev/sdb1 | grep 'ount count'
dumpe2fs 1.42 (29-Nov-2011)
Mount count: 23
Maximum mount count: 20

~$ sudo sh -x /usr/lib/update-notifier/update-motd-fsck-at-reboot
[...]
Mount count: 23
Maximum mount count: 20
[...]
+ next_check_date= Tue Jul 23 09:21:20 2013
+ [ -z 0 ]
+ date -d Tue Jul 23 09:21:20 2013 +%s
+ next_check_tstamp=1374564080
+ check_occur=
+ [ 20 -gt 0 -a 23 -ge 20 ]
+ check_occur=yes
+ [ 15552000 -gt 0 -a 1374564080 -lt 1368184556 ]
+ [ -n yes ]
+ check_occur_any=yes
+ echo *** /dev/sdb1 will be checked for errors at next reboot ***
[...]