brenda...@gmail.com:
> If fedora were still running init, I'm pretty sure I could find the right
> place to do this, but with systemd, I am quite discombobulated.
Perhaps that is the "do one thing, and do it well" systemd strives for.
> 1. Where/how do I insert a thin_trim of the qubes_00 pool during startup
> when it's available (e.g. after luks volume is mounted) but before the pool
> is activated? How do I do it safely (ensuring that activation only occurs
> on exit of thin_trim)?
Maybe /lib/systemd/system/lvm2-pvscan@.service? I see a
/lib/systemd/system/lvm2-pvscan@.service.d/30_qubes.conf too.
> 2. Where/how do I insert a thin_trim of the qubes_00 pool during shutdown
> after it is deactivated but before the luks volume (the VG) is dismounted?
Possibly the ExecStop in the first file.
--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots