Re: Suspend 2 merge: 9/51: init/* changes.

Matthew Garrett
2004-11-27T13:21:17Z

Herbert Xu <herbert@gondor.apana.org.au> wrote:
> Pavel Machek <pavel@ucw.cz> wrote:
>> Given it is not too intrusive... why not. Send it for comments.
>> I probably will not use this myself, so you'll need to test/maintain
>> it.
>
> This shouldn't be necessary. Since the resume is being initiated by
> userspace, it can perform the function of name_to_dev_t and just feed
> the numbers to the kernel. The code to do that is still in Debian's
> initrd-tools.

Good point. Ok, what's the best way to present this to userspace? Add a
/sys/power/resume and then echo a major:minor in there?

--
Matthew Garrett | mjg59-chiark.mail.linux-rutgers.kernel@srcf.ucam.org