SYSTEMD-FSCKD.SERVICE(8)

๐Ÿ“ฆ
version 255.4 ยท 3 versions
, in ubuntu noble

โœจ SYSTEMD-FSCKD.SERVICE(8) โœจ

okay bestie, welcome to systemd-fsckd.service โ€” the manual page, section 8, and yes we're doing this together ๐Ÿ’–


๐ŸŒธ NAME ๐ŸŒธ

systemd-fsckd.service, systemd-fsckd.socket, systemd-fsckd โ€” File system check progress reporting. that's the whole vibe. it reports progress on fsck. iconic behavior honestly ๐ŸŽ€


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

systemd-fsckd.service

systemd-fsckd.socket

/usr/lib/systemd/systemd-fsckd

๐Ÿ’… DESCRIPTION ๐Ÿ’…

so systemd-fsckd.service is a service, and its whole job is receiving file system check progress, then communicating some consolidated data to console and plymouth (only if plymouth is actually running, no cap). it also handles possible check cancellations. multitasking queen ๐Ÿ‘‘

systemd-fsckd receives messages about file system check progress from fsck through an 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. and get this โ€” 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 (which don't support i18n) can display the translated versions. everybody eats ๐Ÿ“

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. likeโ€ฆ it holds a grudge, but make it graceful ๐Ÿ’€


๐ŸŒˆ 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). literally just a count, bestie.
  • <progress> โ€” the current minimum percentage of all devices being checking (float, from 0 to 100). yes it says "being checking", we're keeping it, character for character, don't come for me ๐Ÿ™ˆ
  • <string> โ€” a translated message ready to be displayed by the plymouth theme displaying the data above. it can be overridden 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 overridden (matching only "fsckd-cancel-msg" prefix) by themes supporting i18n. so yes, the prefix match is the whole gatekeep, and that's on purpose โœจ

๐ŸŽ€ OPTIONS ๐ŸŽ€

the following options are understood:

  • -h, --help โ€” print a short help text and exit. cute, quick, no notes.
  • --version โ€” print a short version string and exit. also quick. also iconic.

๐Ÿ‘‘ 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 fsck connections before exiting โ€” it's not ghosting you, it's just lingering a lil bit ๐Ÿซถ


๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ

systemd(1), systemd-fsck(8), fsck(8), systemd-quotacheck.service(8), fsck.btrfs(8), fsck.cramfs(8), fsck.ext4(8), fsck.fat(8), fsck.hfsplus(8), fsck.minix(8), fsck.ntfs(8), fsck.xfs(8)


and that's the whole page, bestie ๐Ÿ’– this was brought to you by systemd 255, SYSTEMD-FSCKD.SERVICE(8), go touch some grass now ๐ŸŒธ๐Ÿงšโญ

๐Ÿ“ฆ where this page comes from