[Pm-utils] [patch] fix pm-reset-swap

Stefan Seyfried seife at suse.de
Wed Mar 14 05:37:07 PDT 2007

On Wed, Mar 14, 2007 at 12:52:45PM +0100, Tim Dijkstra wrote:
> On Tue, 13 Mar 2007 18:26:15 +0100
> Stefan Seyfried <seife at suse.de> wrote:
> > Hi,
> > 
> > pm-reset-swap is dangerously broken right now. This is the "rc = 1" hunk.
> > 
> > Additinally, it does not fix userspace suspend images.
> > The third hunk is more a cosmetic issue, i'm not passionate about it.
> FWIW, I'm not installing pm-reset-swap in debian. The version of swapon
> in debian checks if it finds any of the know three (four?) swsusp
> signatures, and resets it to swap if it finds one.

Yes, this is probably the best approach, i'll try to get something like
that into our util-linux package, too.

However, pm-reset-swap as it is in CVS is really dangerous, so it should
either be removed or fixed.
Stefan Seyfried

"Any ideas, John?"
"Well, surrounding them's out." 

More information about the Pm-utils mailing list