Subject: Re: Clean bit bits
To: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
From: Wayne Berke <email@example.com>
Date: 01/15/1996 08:16:33
In message <199601150156.UAA01826@Collatz.McRCIM.McGill.EDU>, der Mouse writes:
> >>> we have nightly fsck -n's run. i _don't_ want fsck's run via
> >>> mount's or time when i've got this.
> >> I don't think anyone has proposed anything that can't be configured
> >> to check only if the kernel thinks the filesystem was unmounted
> >> uncleanly, which is what I gather you want. I sure haven't.
> > So then why all this talk about modifying fsck? Why not just modify
> > your rc file to pass the "-f" flag every 10 reboots, but leave the
> > fsck/kernel source alone?
> Because we want per-filesystem values for these things. I may want to
> check root once a month "whether it needs it or not", but /home every
> tenth mount, and /var every time around at least until I figure out
> what keeps leaving 0-size-file turds all over it...you get the idea.
How about something similar to newsyslog.conf for file systems? Consider
the following fsck.conf:
# FS reboots days
/dev/rsd0a * 15
/dev/rsd0e 10 *
/dev/rsd1d 20 45
where /etc/rc decides whether to fsck based on the minimum criteria between
# reboots or time-since-last-fsck. We could use "* *" (or simply not list
the FS) to specify no forced periodic check.