Currently the /etc/init.d/checkfs does not check file systems even when the "gentoo=forcefsck" boot parameter is given. Please add a boot parameter to make it check them. I suggest that the "forcefsck" parameter be used for both the checkfs and checkroot init scripts, and a new "forcerootfsck" be added for the checkroot script only.
Created attachment 208649 [details, diff] Proposed patch for checkroot and checkfs
Against which version of baselayout is your patch?
The latest stable one on amd64, version 1.12.11.1. The patch was actually just meant to demonstrate the simplicity of such change in code.
this is already in openrc: _forcefsck() { [ -e /forcefsck ] || get_bootparam forcefsck }
Excuse me, but what is openrc?
baselayout-2