[Libguestfs] [PATCH] Document that ntfsresize cannot be used multiple times (RHBZ#685009).

Richard W.M. Jones rjones at redhat.com
Tue Jul 12 13:16:24 UTC 2011


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
-------------- next part --------------
>From 8cff35784c2227fa6ee114eaa49c30ef33882586 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones at redhat.com>
Date: Tue, 12 Jul 2011 14:13:57 +0100
Subject: [PATCH] Document that ntfsresize cannot be used multiple times
 (RHBZ#685009).

---
 generator/generator_actions.ml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml
index aedbeda..6b53c34 100644
--- a/generator/generator_actions.ml
+++ b/generator/generator_actions.ml
@@ -5224,6 +5224,15 @@ it to local file C<tarball> (as an xz compressed tar archive).");
    "\
 This command resizes an NTFS filesystem, expanding or
 shrinking it to the size of the underlying device.
+
+I<Note:> After the resize operation, the filesystem is marked
+as requiring a consistency check (for safety).  You have to boot
+into Windows to perform this check and clear this condition.
+Furthermore, ntfsresize refuses to resize filesystems
+which have been marked in this way.  So in effect it is
+not possible to call ntfsresize multiple times on a single
+filesystem without booting into Windows between each resize.
+
 See also L<ntfsresize(8)>.");
 
   ("vgscan", (RErr, [], []), 232, [],
-- 
1.7.5.2



More information about the Libguestfs mailing list