From: Jeff Dike <jdike@ka...> - 2001-07-09 17:29:43
> If a virtual machine gets killed with SIGKILL, are the unwritten
> buffers written out to disk (by the host kernel)?
If you manage to get the changes to the host kernel, it will write them out.
> I'm trying to avoid
> losing changes on my UMLs (which I kill with SIGKILL) so I'm mounting
> filesystems inside UML with the sync flag.
This means that when the I/O op returns, the host kernel has the changes.
> However, I'd try to avoid
> having UML open the filesystem file in sync mode, to let the host do
> some buffering.
This sync mode is for when you're worried about keeping your changes even if
the host kernel crashes.
Get latest updates about Open Source Projects, Conferences and News.