I have several filesystems (including the root fs) that are reiserfs with an external journal. Unless I disable /etc/init.d/fsck (by creating a /fastboot file every time I boot), the system won't boot. /etc/init.d/fsck should cause the --journal option to be passed to reiserfsck specifying the journal device when the /etc/fstab entry indiciates. See example entry below dev/bayeux/root / reiserfs jdev=/dev/bayeux/root_journal,noatime 0 1 Reproducible: Always Steps to Reproduce: 1. create a reiserfsck filesystem with an external journal 2. create an /etc/fstab entry for that filesystem as shown in "Description" causing /etc/init.d/fsck to try to fsck it 3. boot Actual Results: fsck fails and prevents booting Expected Results: The filesystem is actually checked and booting occurs based on the results of the check
Hmmm. Maybe the deficiency is in /sbin/fsck from the sys-apps/util-linux package (I have sys-apps/util-linux-2.17). fsck -A seems to be where the code is that parses file system options in /etc/fstab.
it isnt a bug in openrc. whether util-linux should decode this automatically is hard to say since it seems to be a fs-specific issue.
The mount command reads filesystem specific options when mounting filesystems. It seems like an oversight that the fsck code does not. Probably it was never considered.
it is not the same thing. mount takes the "options" field as it is and passes it unmodified (for the most part) to the respective mount binary for all filesystem types. fsck needs to parse the field and extract a single option for a specific filesystem -- the journal option for reiserfs filesystems.