From: Richard Jones <rjones@redhat.com>
Date: Thu, 27 May 2010 09:37:43 +0000 (+0100)
Subject: Fix documentation for vfs-type to reflect reality.
X-Git-Tag: 1.2.9~14
X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=265e6f8f0495fec03b1eed3abb10c2c423233900;p=libguestfs.git

Fix documentation for vfs-type to reflect reality.
(cherry picked from commit 0f6c6239fe0d1b4624e4e9776559c21486a9c7cf)
---

diff --git a/src/generator.ml b/src/generator.ml
index bab4bc0..8a6177c 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -3890,12 +3890,13 @@ See also C<guestfs_realpath>.");
       [["vfs_type"; "/dev/sda1"]], "ext2")],
    "get the Linux VFS type corresponding to a mounted device",
    "\
-This command gets the block device type corresponding to
-a mounted device called C<device>.
+This command gets the filesystem type corresponding to
+the filesystem on C<device>.
 
-Usually the result is the name of the Linux VFS module that
-is used to mount this device (probably determined automatically
-if you used the C<guestfs_mount> call).");
+For most filesystems, the result is the name of the Linux
+VFS module which would be used to mount this filesystem
+if you mounted it without specifying the filesystem type.
+For example a string such as C<ext3> or C<ntfs>.");
 
   ("truncate", (RErr, [Pathname "path"]), 199, [],
    [InitBasicFS, Always, TestOutputStruct (