Re: Separate ACPI_SLEEP and SOFTWARE_SUSPEND options

From: Pavel Machek (pavel@ucw.cz)
Date: Sun Jul 20 2003 - 18:00:13 EST


Hi!

> > > > Right now you may boot without resuming and then later resume but
> > > > in meantime you cannot use those swap partitions/files which were
> > > > involved in suspending. Also in this case there is a risk that buffers
> > > > on disk won't match with saved ones.
> > >
> > > What happens on a machine which is sharing swap space between two
> > > operating systems? Do we have a way to mark a swap partition which is
> > > used for suspend data as unusable? Maybe we could change the
> > > partition type from 82 to something else.
> >
> > swsusp changes swap's signature, so swapon will fail.
>
> Aren't there some OSes that just blindly use the whole partition,
> without looking for a swap signature? I suppose that's really a
> problem that needs to be fixed with the other OS, though, to recognise
> the swsusp signature and disable swapping during that boot.

Exactly. If the other OS does not honour swap signature, it might as
well ignore partition type too. You need to fix that hypothetical
other OS.

                                                                Pavel

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:41 EST