Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sschapiro:openstack:upstream
libguestfs
0015-docs-Note-that-guestfs_sync-is-no-longer-n...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0015-docs-Note-that-guestfs_sync-is-no-longer-necessary.patch of Package libguestfs
From 0a03efcd01cfb1e54186d8203fcadc4f31fbdeb3 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones <rjones@redhat.com> Date: Tue, 7 Dec 2010 22:15:45 +0000 Subject: [PATCH 15/72] docs: Note that guestfs_sync is no longer necessary. (cherry picked from commit 917c3520c7d6a2f3f9f670e42e0875aa40579a30) --- src/guestfs.pod | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/guestfs.pod b/src/guestfs.pod index 7cb05a6..1376e52 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -14,7 +14,6 @@ guestfs - Library for accessing and modifying virtual machine images guestfs_mount (g, "/dev/sda1", "/"); guestfs_touch (g, "/hello"); guestfs_umount (g, "/"); - guestfs_sync (g); guestfs_close (g); cc prog.c -o prog -lguestfs @@ -100,11 +99,10 @@ this: * disk image. */ guestfs_touch (g, "/hello"); - - /* You only need to call guestfs_sync if you have made - * changes to the guest image. (But if you've made changes - * then you *must* sync). See also: guestfs_umount and - * guestfs_umount_all calls. + + /* This is only needed for libguestfs < 1.5.24. Since then + * it is done automatically when you close the handle. See + * discussion of autosync in this page. */ guestfs_sync (g); -- 1.7.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor