On Thu, Dec 08, 2011 at 07:47:28AM -0800, Chris Haumesser wrote:
Daniel P. Berrange wrote:
> Hmm, so your actual filesystem on the host side is read only ?
Yup, mounting a squashfs in RAM.
> I'll have to think about how to make it work when the host
> FS itself is readonly. Probably have to define some location
> that is guarenteed to exist, instead of trying to create a
> '/.oldroot' location ourselves.
I suppose so, yes. What is the purpose of .oldroot? When I switch to a
rw filesystem, I see that .oldroot gets created, but it is just an empty
directory.
It is used as an intermediate temporary location when we pivot from
one root filesystem to another, so you shouldn't expect to see anything
there. We just need a directory somewhere to pivot on, and chose to
use /.oldroot
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|