Trent Lloyd lathiat at bur.st
Sun Oct 23 22:16:49 CDT 2005


On Sun, Oct 23, 2005 at 06:02:30PM -0700, Matt Zimmerman wrote:
> On Mon, Oct 24, 2005 at 08:11:44AM +0800, Trent Lloyd wrote:
> > On Sun, Oct 23, 2005 at 04:18:46PM -0700, Matt Zimmerman wrote:
> > > 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.
> > 
> > it stores a block map of the blocks used to store the image. ie, the
> > first block of the image (that you pass resume2=file:/dev/hda5 at 0x12412
> > with) contains a list (or pointers to lists) of other blocks that
> > contain the image, and it's read out of that without ever touching
> > the device's filesystem.
> 
> I see, so this is solved by passing additional information in the boot
> parameter.  Thanks for the explanation.

Yup. :) Swap files have something similar happen but I'm not sure
exactly what happens, I can ask if you like.

> 
> -- 
>  - mdz
> 
> -- 
> ubuntu-devel mailing list
> ubuntu-devel at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

-- 
Trent Lloyd <lathiat at bur.st>
Bur.st Networking Inc.



More information about the ubuntu-devel mailing list