Matt Zimmerman mdz at ubuntu.com
Sun Oct 23 18:18:46 CDT 2005


On Mon, Oct 24, 2005 at 07:10:27AM +0800, Trent Lloyd wrote:
> On Sun, Oct 23, 2005 at 02:00:54PM -0700, Matt Zimmerman wrote:
> > On Sun, Oct 23, 2005 at 09:53:55PM +0800, Trent Lloyd wrote:
> > > suspend2 supports hibernating to both swap files *and* normal files :)
> > > Unfortunately, we don't run suspend2 :(
> > 
> > How does it ensure the consistency of the filesystem containing the swap
> > file?
> 
> It pre-allocates the file and using some low level calls to get the blocks
> , blats it out to the blocks.

But how does it then read the blocks back in order to resume?  At least with
swsusp, the filesystem may be in an unclean state during hibernation.

-- 
 - mdz



More information about the ubuntu-devel mailing list