[systemd-devel] [PATCH] Adding fsck integration to plymouth

Didier Roche didrocks at ubuntu.com
Wed Jan 28 05:19:30 PST 2015


Hi,

Here is a suite of patches up to review to add fsckd integration to 
plymouth. This work is mostly based on Lennart's suggestion on an email 
thread few years ago 
(http://lists.freedesktop.org/archives/systemd-devel/2011-April/002063.html) 
where the proposal was to add a systemd-fsckd daemon.

The daemon is socket-activated, each systemd-fsck instances binds and 
communicate its own fsck data to it. systemd-fsckd then agglomerates the 
results and write to /dev/console as well as propagate those values to 
plymouth.

The protocole to communicate with the plymouth theme is described in the 
man page. I've modified ubuntu plymouth theme (which is a .script) to 
display the progress. There is as well a cancel option in case some 
people run on a rotational disks, hit the mount limit and need to give a 
talk right away (not my use case, but have seen that in practice 
recently) :)

The plymouth integration is optional, otherwise, only /dev/console (if 
show-status is enabled) is written.

I'm opened to any question and suggested enhancements.
Cheers,
Didier


More information about the systemd-devel mailing list