[arch-projects] [mkinitcpio] [PATCH 2/2] resume: generate a udev rule for specifying device

Tom Gundersen teg at jklm.no
Tue Nov 26 13:00:34 EST 2013


On Tue, Nov 26, 2013 at 5:09 PM, Dave Reisner <d at falconindy.com> wrote:
> On Tue, Nov 26, 2013 at 04:35:13PM +0100, Thomas Bächler wrote:
>> Am 26.11.2013 16:22, schrieb Dave Reisner:
>> > I'll ask Harald about this -- Dracut uses a very similar mechanism (but
>> > a bit more complex/convoluted).
>>
>> Nobody said this was easy to solve.
>>
> Consider the patch shelved for now. It's not something I care about --
> just thought I'd take a stab at fixing it for others.

Well now I got interested ;-)

Could this be solved (in a systemd world) by a systemd generator
(running in the initramfs of course) generating a one-shot service
which does the RUN from your udev rule, but which is ordered between
the <hibernation>.device and local-fs-pre.target?

Cheers,

Tom

PS

I never used hibernation, and the only things I know about it, I
learnt by reading this thread...


More information about the arch-projects mailing list