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

From: Matthew Garrett
Date: Sat Nov 27 2004 - 08:22:18 EST


Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
> Pavel Machek <pavel@xxxxxx> 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@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/