x86 Suspend/resume support in Hoary

Sami Haahtinen ressu at ressukka.net
Mon Feb 7 12:38:05 CST 2005


Matt Zimmerman wrote:
> On Sun, Feb 06, 2005 at 10:20:22PM +0200, Sami Haahtinen wrote:
>>Ah, if we are trying to deal with filesystem corruption, simple sync 
>>would be enough. Although, i'm not too familiar with the way kernel 
>>deals with filesystems, but i would assume sync() before spinning down 
>>the disks should be enough.
>>
>>And syncing should be a sane thing to do anyway...
> 
> I would be surprised if the kernel does not force a sync itself before
> suspending; having heard reports of corruption, I'm not sure what causes it.

In my case this would (most likely) be caused by not re-reading 
filetable on resume.

-S




More information about the ubuntu-devel mailing list