From: Alan Jenkins <alan-jenkins-cCz0Lq7MMjm9FHfhHBbuYA@public.gmane.org>
To: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] dracut-gencmdline: emit "resume="
Date: Thu, 29 Oct 2009 10:06:09 +0000 [thread overview]
Message-ID: <4AE96911.6070207@tuffmail.co.uk> (raw)
In-Reply-To: <4AE96826.4010908-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Harald Hoyer wrote:
> On 10/29/2009 10:27 AM, Alan Jenkins wrote:
>> I haven't tested resume either way, but I can't imagine it working if
>> we don't tell it which device to use :-).
>>
>> diff --git a/dracut-gencmdline b/dracut-gencmdline
>> index 978f5a2..625546c 100755
>> --- a/dracut-gencmdline
>> +++ b/dracut-gencmdline
>> @@ -711,5 +711,9 @@ if [ -n "$rootdev" ]; then
>> echo -n "root=$rootdev "
>> fi
>>
>> +if [ -n "$swsuspdev" ]; then
>> + echo -n "resume=$swsuspdev "
>> +fi
>> +
>> echo
>> # vim:ts=8:sw=4:sts=4:et
>>
>>
>
> well, it works, because it finds the suspend signature :-)
Ah, I missed the rules file. Clearly a failure of imagination on my
part. Colour me impressed :).
Ta
Alan
prev parent reply other threads:[~2009-10-29 10:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-29 9:27 [PATCH] dracut-gencmdline: emit "resume=" Alan Jenkins
[not found] ` <4AE95FEB.7090304-cCz0Lq7MMjm9FHfhHBbuYA@public.gmane.org>
2009-10-29 10:02 ` Harald Hoyer
[not found] ` <4AE96826.4010908-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-10-29 10:06 ` Alan Jenkins [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AE96911.6070207@tuffmail.co.uk \
--to=alan-jenkins-ccz0lq7mmjm9fhfhhbbuya@public.gmane.org \
--cc=harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.