[Suspend-devel] [PATCH] Allow users to abort image saving

2006-11-01 Thread Rafael J. Wysocki
Hi, The appended patch allows the users of suspend to abort the image saving by pressing Ctrl+c. Comments welcome. Greetings, Rafael --- suspend.c | 48 +--- 1 file changed, 45 insertions(+), 3 deletions(-) Index: suspend/suspend.c ==

Re: [Suspend-devel] [PATCH] Avoid modifying file access time after creating the image

2006-11-01 Thread Rafael J. Wysocki
On Wednesday, 1 November 2006 11:13, Pavel Machek wrote: > On Wed 2006-11-01 11:10:46, Rafael J. Wysocki wrote: > > Hi, > > > > On Wednesday, 1 November 2006 10:57, Pavel Machek wrote: > > > Hi! > > > > > > > > > > Well, but if some data structures are different than the tmpfs > > > > > > > driv

Re: [Suspend-devel] s2ram on a hp nx5000

2006-11-01 Thread Stefan Seyfried
On Wed, Nov 01, 2006 at 02:29:01PM +0100, Giuseppe Ciotta wrote: > this hp nx5000 revision can be added to the whitelist, s2ram works > fine with the vbe_save option (s2ram -fp) ...which is the vbe_post option. > sys_vendor = "Hewlett-Packard" > sys_product = "Compaq nx5000 (DU399T#ABZ)

[Suspend-devel] s2ram on a hp nx5000

2006-11-01 Thread Giuseppe Ciotta
this hp nx5000 revision can be added to the whitelist, s2ram works fine with the vbe_save option (s2ram -fp) sys_vendor = "Hewlett-Packard" sys_product = "Compaq nx5000 (DU399T#ABZ) " sys_version = "F.0D" bios_version = "68BCU Ver. F.0D" -- -

Re: [Suspend-devel] [PATCH] Avoid modifying file access time after creating the image

2006-11-01 Thread Pavel Machek
On Wed 2006-11-01 11:10:46, Rafael J. Wysocki wrote: > Hi, > > On Wednesday, 1 November 2006 10:57, Pavel Machek wrote: > > Hi! > > > > > > > > Well, but if some data structures are different than the tmpfs > > > > > > driver thinks > > > > > > they are, the kernel could oops/panic at umount, co

Re: [Suspend-devel] [PATCH] Avoid modifying file access time after creating the image

2006-11-01 Thread Rafael J. Wysocki
Hi, On Wednesday, 1 November 2006 10:57, Pavel Machek wrote: > Hi! > > > > > > Well, but if some data structures are different than the tmpfs driver > > > > > thinks > > > > > they are, the kernel could oops/panic at umount, couldn't it? > > > > > > > > Yes, it could, but they won't be. After

Re: [Suspend-devel] [PATCH] Avoid modifying file access time after creating the image

2006-11-01 Thread Pavel Machek
Hi! > > > > Well, but if some data structures are different than the tmpfs driver > > > > thinks > > > > they are, the kernel could oops/panic at umount, couldn't it? > > > > > > Yes, it could, but they won't be. After a successful resume the tmpfs > > > will > > > be in the same state as befo

Re: [Suspend-devel] [PATCH] Avoid modifying file access time after creating the image

2006-11-01 Thread Rafael J. Wysocki
On Monday, 30 October 2006 17:23, Stefan Seyfried wrote: > On Mon, Oct 30, 2006 at 12:26:55PM +0100, Rafael J. Wysocki wrote: > > > Well, but if some data structures are different than the tmpfs driver > > > thinks > > > they are, the kernel could oops/panic at umount, couldn't it? > > > > Yes, i