Re: Separate ACPI_SLEEP and SOFTWARE_SUSPEND options

From: John Bradford (john@grabjohn.com)
Date: Sun Jul 20 2003 - 15:20:53 EST


> > > 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.

John.
-
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:40 EST