[Libguestfs] modifying open_guest function (copy_over.c)
THO HUYNH
feeliwood at yahoo.com
Sat Mar 31 06:18:38 UTC 2012
It works, but I should delete
if (guestfs_umount_all (destg) == -1)
exit (EXIT_FAILURE);
inmain() function and
/* Clean up. */
if (guestfs_umount_all (srcg) == -1) {
pthread_cancel (threaddata->mainthread);
exit (EXIT_FAILURE);
}
in the start_scrthread() function or it will return an error after the program finish:
libguestfs: error: umount_all: umount: /sys/fs/cgroup/systemd: umount: /sys/fs/cgroup/systemd: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20120330/69c9dcce/attachment.htm>
More information about the Libguestfs
mailing list