On 2014-07-07 07:16, skosner wrote:
>
> Hi, When a filesystem is flagged dirty, does the automatic filesystem
> recovery at boot time do an actual fsck, or is it just a journal
> playback?
That’s more or less up to that particular filesystem designers. Which is
to say, it varies.
For instance, for XFS you need to attempt a mount first to replay the
log, and only then a repair works.
> If it does an actual fsck, does it run it in repair mode, instead of
> just diagnostic mode?
The idea is to do an automated diagnostic and repair. If it needs manual
intervention, aborts and dumps you in emergency mode.
> There is just not enough detail in /var/log/boot.msg to answer these
> questions.
Because that file is deprecated, systemd doesn’t write it (it is filled
by plymouth, if used). The real log is in “/var/log/messages”.
> If the answers depend on OS/kernel version, the questions surely apply
> to latest of such, but also possibly to 11.4 and kernel 2.6.x (all
> versions in between are unimportant).
Ah, 11.4.
That one is the last fully system V version, so, yes, it does support
/var/log/boot.msg, and no, it does not write anything about the disk
check in there. Only on the display.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)