Bug#686895: initscripts: /forcefsck: fsck -f undefined (e2fsck-ism)

Dmitry Bogatov KAction at debian.org
Wed Mar 6 14:36:02 GMT 2019

[2019-03-05 02:50] Pierre Ynard <linkfanel at yahoo.fr>
> reopen 686895
> thanks
> /etc/init.d/checkfs.sh also checks forcefsck to pass -f to fsck,
> so it needs to be fixed too. It won't be as simple as checkroot.sh
> because fsck -A can apply to any number of filesystems of any type and
> checkfs.sh doesn't track specifics when calling it.
> Perhaps the simplest approach, if forcefsck is requested, would be to
> add a first pass of fsck -A -f -t ext3,... and then let the normal code
> proceed: this saves a lot of complexity and the worst that should happen
> is that fsck wastes a bit of time doing a fast and clean second check of
> the involved filesystems after the forced slow check.

Sounds reasonable. Will you make patch?

> Also, I can see that at least reiserfsck too honors -f as --force with
> the same meaning, so I suppose it should be added alongside ext*.

What is relations of reiserfs and /forcecheck convention on timeline?
We want to deprecate /forcecheck, and making it respect another
filesystem is move in opposite direction.

I mean, nobody seems to reported lack of support of /forcecheck on
reiserfs root.

        Note, that I send and fetch email in batch, once every 24 hours.
                 If matter is urgent, try https://t.me/kaction

More information about the Debian-init-diversity mailing list