Re: Suspending to swap with two OS's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 16, 2007 at 12:18:06PM +0930, Tim wrote:
> On Sun, 2007-07-15 at 17:53 +0100, Luciano Rocha wrote:
> > The problem with hibernation would be that when resuming
> > the kernel will have an erroneous idea of the state of the filesystems
> > it was using. 
> 
> I would have thought that, other than for the swap drive, the system
> would flush caches and sync drives on its way down.  I think it'd be
> foolish not to.

It flushes dirty buffers, yes, but there are data not part of cache:
open inodes (even if just directories), deleted but in use inodes,
superblock data and journal state, that could have changed/will change
between the hibernation and resume.

The suspending OS doesn't umount the filesystem (or it didn't last time
I checked). This is easy to check. Save all your data, sync, and
suspend. Then, instead of resuming, boot normally. The OS should
complain about mounting an unchecked filesystem and replaying the
journal.

-- 
lfr
0/0

Attachment: pgpo0W8ZZVBFB.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux