On Mon, Oct 30, 2006 at 11:57:47AM +0100, Rafael J. Wysocki wrote:
> On Monday, 30 October 2006 09:37, Stefan Seyfried wrote:
> > On Mon, Oct 30, 2006 at 12:20:50AM +0100, Rafael J. Wysocki wrote:
> > > Hi,
> > > 
> > > Unfortunately in its current form s2disk causes the access time of the 
> > > resume
> > > device special file to be updated after the suspend image has been 
> > > created,
> > > which is potentially dangerous.
> > > 
> > > We can fix this by mounting a tmpfs, creating the special device file on 
> > > it
> > > and using this file for the suspend, which is done in the appended patch.
> > 
> > But the access time of the device on the tmpfs will also be corrupt, and the
> > kernel may go "boom" when unmounting that tmpfs (just theoretical, but maybe
> > the cure is worse than the disease)?
> 
> No.  tmpfs is in RAM. ;-)

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?

And today, /dev/ is on tmpfs also :-)

I'm not saying that there _will_ be problems, but there _might_ be.
-- 
Stefan Seyfried
QA / R&D Team Mobile Devices        |              "Any ideas, John?"
SUSE LINUX Products GmbH, Nürnberg  | "Well, surrounding them's out." 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to