Hi! > I'd like to modify the kernel's behavior related to the SNAPSHOT_PMOPS > ioctl. Namely, currently PMOPS_ENTER works regardless of the value > of "suspend mode" indicated by "cat /sys/power/disk". This doesn't seem to > be quite right to me, so I'd like to make s2disk set "/sys/power/disk" to > "platform" before the suspend if there's "shutdown mode = platform" in the > configuration file.
I do not think I like that change. I'd prefer to keep ioctls() and /sys/power to be separate (after all, one is "snapshoting", and one is "hibernation")... so there's at least theoretical chance to remove /sys/power in future. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel