On Tue 2007-03-20 11:37:36, Tim Dijkstra wrote: > Hi, > > I just noticed I have misunderstood how the machine is put in S3 for > s2both. I thought it would use a function from s2ram.c to do that, but > it seems it uses > ioctl(snaptshot_fd, SNAPSHOT_S2RAM, 0); > > Just to be sure, this will probably do precisely the same thing as echo > 'mem > /sys/power/state', or not?
Not _precisely_. It avoids running freezer because processes are already frozen. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel