systemd-fsckd.service
systemd
Developer
Didier
Roche
didrocks@ubuntu.com
systemd-fsckd.service
8
systemd-fsckd.service
systemd-fsckd.socket
systemd-fsckd
File system check progress reporting
systemd-fsckd.service
systemd-fsckd.socket
/usr/lib/systemd/systemd-fsckd
Description
systemd-fsckd.service is a service responsible
for receiving file system check progress, and communicating some
consolidated data to console and plymouth (if running). It also handles
possible check cancellations.
systemd-fsckd receives messages about file
system check progress from systemd-fsck through a
UNIX domain socket. It can display the progress of the least advanced
fsck as well as the total number of devices being checked in parallel
to the console. It will also send progress messages to plymouth.
Both the raw data and translated messages are sent, so compiled
plymouth themes can use the raw data to display custom messages, and
scripted themes, not supporting i18n, can display the translated
versions.
systemd-fsckd will instruct plymouth to grab
Control+C keypresses. When the key is pressed, running checks will be
terminated. It will also cancel any newly connected fsck instances for
the lifetime of systemd-fsckd.
Protocol for communication with plymouth
systemd-fsckd passes the
following messages to the theme:
Progress update, sent as a plymouth update message:
fsckd:<num_devices>:<progress>:<string>
<num_devices>
the current number of devices
being checked (int)
<progress>
the current minimum percentage of
all devices being checking (float, from 0 to 100)
<string>
a translated message ready to be displayed
by the plymouth theme displaying the data above. It can be overriden
by themes supporting i18n.
Cancel message, sent as a traditional plymouth message:
fsckd-cancel-msg:<string>
<strings>
a translated string ready to be displayed
by the plymouth theme indicating that Control+C can be used to cancel
current checks. It can be overriden (matching only
fsckd-cancel-msg prefix)
by themes supporting i18n.
Options
The following options are understood:
Exit status
On success, 0 is returned, a non-zero failure
code otherwise. Note that the daemon stays idle for
a while to accept new systemd-fsck
connections before exiting.
See Also
systemd1,
systemd-fsck8,
fsck8,
systemd-quotacheck.service8,
fsck.btrfs8,
fsck.cramfs8,
fsck.ext48,
fsck.fat8,
fsck.hfsplus8,
fsck.minix8,
fsck.ntfs8,
fsck.xfs8