On Tue, 24 Jan 2006, Hamish Moffatt wrote:

One issue is that it can't work out where to resume from itself; this
has to come as a resume2= parameter or hard-coded in the kernel. It
doesn't seem to be possible to poke it into /proc somewhere as the patch
does for swsusp.

Looking through
  http://www.suspend2.net/HOWTO-4.html
it seems like writing into /proc/suspend2/resume2 might do what you want?

The docs say that you still need a kernel command-line parameter to resume, but thinking about the likely implementation, it seems like writing to /proc/suspend2/resume2 and then writing to /proc/suspend2/do_resume might Just Work. Or ought to be made to work!
If you've got a chance to test that hypothesis, I'd appreciate it.
I strongly feel that "ordinary users" shouldn't have to edit the kernel command-line parameters for any reason... although one can imagine resume arguments being added in the future at debian-installer time along with the root= argument. I'd prefer to concentrate all information about "which partitions are used for what" into /etc/fstab, though.
 --scott

Semtex Nazi UKUSA atomic AMTHUG $400 million in gold bullion early warning security Chechnya Sugar Grove HTPLUME pending global action network
                         ( http://cscott.net/ )


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to