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

From: Herbert Xu
Date: Sat Nov 27 2004 - 04:33:26 EST


Pavel Machek <pavel@xxxxxx> wrote:
>
>> name_to_dev_t needs to be non-init in order to make it possible to
>> trigger a resume when the block device driver isn't static. Pavel, would
>> you be willing to consider a patch to make it possible to trigger swsusp
>> resume from userspace? That gets things working with initrd kernels.
>> I've been using something along these lines for a few weeks now, and it
>> hasn't eaten my filesystem yet.
>
> 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.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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/