On Tue, Feb 01, 2011 at 11:04:47PM +0300, Vasiliy G Tolstov wrote: > On Tue, 2011-02-01 at 16:04 +0000, Richard W.M. Jones wrote: > > > There are some experimental patches to libguestfs to do live > > filesystem and partition manipulations now: > > > > https://www.redhat.com/archives/libguestfs/2011-January/msg00096.html > > > > Rich. > > > > Sorry, but i can't found any info about operating on already mounted > disk. As i known, libguestfs allows operating inside virtual machine via > userspace daemon.
Yes you're right that 'guestfsd' running in the guest cannot change the partition table seen by the kernel when partitions are mounted as filesystems. This would require some changes to the kernel. I was just pointing out you can use libguestfs "live" now and do a huge range of filesystem operations, including changing the partition table on disk. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org