psss / rpms / libguestfs

Forked from rpms/libguestfs 5 years ago
Clone
Blob Blame History Raw
From caaed7ea75b82f89aec818bf000fe476febe118f Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Mon, 13 Jan 2014 20:42:48 +0000
Subject: [PATCH] builder: For performance, recommend using the --no-sync
 option.

(cherry picked from commit 69d9c8515c32dcc67e4ce752215e18eb811f8029)
---
 builder/virt-builder.pod | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod
index 81db516..9cbfbab 100644
--- a/builder/virt-builder.pod
+++ b/builder/virt-builder.pod
@@ -1616,6 +1616,11 @@ downloaded once.  You can also try using a local package repository,
 although this can be complex to set up and varies according to which
 Linux distro you are trying to install.
 
+=head3 Using I<--no-sync>
+
+Use I<--no-sync>.  However read the caveats in the L</OPTIONS> section
+above, since this can cause disk corruption if not used correctly.
+
 =head3 Skipping virt-resize
 
 Virt-builder can skip the virt-resize step under certain conditions.
-- 
1.8.4.2