SYSTEMD-...GENERATOR(8)

๐Ÿ’… NAME ๐Ÿ’…

systemd-factory-reset-generator โ€” bestie, this lil guy yanks factory-reset-now.target into the very first boot transaction when a factory reset has been requested. no cap.


โœจ SYNOPSIS โœจ

/usr/lib/systemd/system-generators/systemd-factory-reset-generator

๐ŸŽ€ DESCRIPTION ๐ŸŽ€

okay so systemd-factory-reset-generator</p> is a generator, right? and its whole entire job โ€” its main character moment, honestly โ€” is pulling factory-reset-now.target into the initial boot transaction when the factory reset operation has been requested.

and how does it know a factory reset was requested, you ask? two ways, bestie:

  • via the systemd.factory_reset= kernel command line option ๐Ÿซถ
  • via the FactoryResetRequest EFI variable ๐ŸŒธ

either one of those shows up and this generator is like "say less" and gets factory-reset-now.target into that initial boot transaction. periodt.

also, systemd-factory-reset-generator implements systemd.generator(7). that's the vibe check it passes, iykyk. ๐Ÿ’–


๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹


๐Ÿ“ NOTES ๐Ÿ“

  1. Factory Reset https://systemd.io/FACTORY_RESET

okay that's the whole page, bestie, you ate that ๐Ÿ’…โœจ this was systemd 262.1 and you're officially fluent in factory-reset-generator now. go forth and be iconic ๐ŸŽ€๐Ÿ‘‘๐Ÿ’–

๐Ÿ“ฆ where this page comes from
  • arch rolling: systemd 262.1-1 ยท LGPL-2.1-or-later AND CC0-1.0 AND GPL-2.0-or-later AND MIT-0
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms