:: [DNG] file system auto-check interv…
Top Page
Delete this message
Reply to this message
Author: Boruch Baum
Date:  
To: dng
Subject: [DNG] file system auto-check interval
When the devuan installer created the filesystem for my / mountpoint
ext4 file system, it set the parameters 'max-mount-counts' to -1 and
'interval-between-checks' to 0, meaning that the root filesystem would
only be checked by manual sysadmin intervention.

>From the 'tune2fs' man page:


"It is strongly recommended that either -c (mount-count-dependent) or -i
(time-dependent) checking be enabled to force periodic full e2fsck(8)
checking of the filesystem."

To see your particular status:

tune2fs -l $(sed -n '/ \/ /s/ .*//p' /etc/mtab) |grep -e "Maximum mount
count" -e "Check interval"

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0