Fix documentation for vfs-type to reflect reality.
authorRichard Jones <rjones@redhat.com>
Thu, 27 May 2010 09:37:43 +0000 (10:37 +0100)
committerRichard Jones <rjones@redhat.com>
Wed, 2 Jun 2010 18:36:24 +0000 (19:36 +0100)
(cherry picked from commit 0f6c6239fe0d1b4624e4e9776559c21486a9c7cf)

src/generator.ml

index bab4bc0..8a6177c 100755 (executable)
@@ -3890,12 +3890,13 @@ See also C<guestfs_realpath>.");
       [["vfs_type"; "/dev/sda1"]], "ext2")],
    "get the Linux VFS type corresponding to a mounted device",
    "\
       [["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 (
 
   ("truncate", (RErr, [Pathname "path"]), 199, [],
    [InitBasicFS, Always, TestOutputStruct (