summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-05-27 10:37:43 +0100
committerRichard Jones <rjones@redhat.com>2010-05-27 10:37:43 +0100
commit0f6c6239fe0d1b4624e4e9776559c21486a9c7cf (patch)
treecf67d8523be22d5a2d543815a4b89d76e15e292d
parent11eeb8885c7a8ffb59e12cd5fb2ae0fc324df383 (diff)
downloadlibguestfs-0f6c6239fe0d1b4624e4e9776559c21486a9c7cf.tar.gz
libguestfs-0f6c6239fe0d1b4624e4e9776559c21486a9c7cf.tar.xz
libguestfs-0f6c6239fe0d1b4624e4e9776559c21486a9c7cf.zip
Fix documentation for vfs-type to reflect reality.
-rwxr-xr-xsrc/generator.ml11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/generator.ml b/src/generator.ml
index c6a12627..58eaee45 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -3904,12 +3904,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 (