On Mon, Oct 30, 2006 at 10:36:46AM +0100, Tim Dijkstra wrote: > On Mon, 30 Oct 2006 00:20:50 +0100 > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > > > 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. > > Why is that dangerous?
modifying filesystems while suspended (or better: between snapshot creation and restore time) is dangerous, because after resume, the on-disk state is probably different than what the kernel thinks it is. There are prominent examples of people who "just booted knoppix to get a file off that partition" on a suspended system. Usually it ends with nasty file system corruption and data loss (since it might do unnoticed for some time and the longer it takes to show up, the heavier the corruptions will probably be). I _believe_ that it is probably "mostly harmless" for this atime change, and i am not sure if the cure is better or worse than the disease, but there is a potential problem. I am no filesystem expert at all, so take all this with a grain of salt. -- 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