summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-05-01 18:51:15 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-05-01 18:51:15 +0100
commit0cad78b28d48dfcc31f53292d0424ba5ded7fe12 (patch)
tree7db7d2c38968c30459e8675b0a902bd33bc33bce
parenta4d88af2c13692e38fb7cfce77b082cee6e0462f (diff)
downloadlibguestfs-0cad78b28d48dfcc31f53292d0424ba5ded7fe12.tar.gz
libguestfs-0cad78b28d48dfcc31f53292d0424ba5ded7fe12.tar.xz
libguestfs-0cad78b28d48dfcc31f53292d0424ba5ded7fe12.zip
Typo in documentation.
-rw-r--r--fish/cmds.c2
-rw-r--r--guestfish-actions.pod2
-rw-r--r--guestfs-actions.pod2
-rw-r--r--java/com/redhat/et/libguestfs/GuestFS.java2
-rw-r--r--perl/lib/Sys/Guestfs.pm2
-rw-r--r--python/guestfs.py2
-rwxr-xr-xsrc/generator.ml2
7 files changed, 7 insertions, 7 deletions
diff --git a/fish/cmds.c b/fish/cmds.c
index 05977385..dc5d6a3a 100644
--- a/fish/cmds.c
+++ b/fish/cmds.c
@@ -325,7 +325,7 @@ void display_command (const char *cmd)
pod2text ("lvcreate - create an LVM volume group", " lvcreate <logvol> <volgroup> <mbytes>\n\nThis creates an LVM volume group called C<logvol>\non the volume group C<volgroup>, with C<size> megabytes.");
else
if (strcasecmp (cmd, "mkfs") == 0)
- pod2text ("mkfs - make a filesystem", " mkfs <fstype> <device>\n\nThis creates a filesystem on C<device> (usually a partition\nof LVM logical volume). The filesystem type is C<fstype>, for\nexample C<ext3>.");
+ pod2text ("mkfs - make a filesystem", " mkfs <fstype> <device>\n\nThis creates a filesystem on C<device> (usually a partition\nor LVM logical volume). The filesystem type is C<fstype>, for\nexample C<ext3>.");
else
if (strcasecmp (cmd, "sfdisk") == 0)
pod2text ("sfdisk - create partitions on a block device", " sfdisk <device> <cyls> <heads> <sectors> <lines>\n\nThis is a direct interface to the L<sfdisk(8)> program for creating\npartitions on block devices.\n\nC<device> should be a block device, for example C</dev/sda>.\n\nC<cyls>, C<heads> and C<sectors> are the number of cylinders, heads\nand sectors on the device, which are passed directly to sfdisk as\nthe I<-C>, I<-H> and I<-S> parameters. If you pass C<0> for any\nof these, then the corresponding parameter is omitted. Usually for\n'large' disks, you can just pass C<0> for these, but for small\n(floppy-sized) disks, sfdisk (or rather, the kernel) cannot work\nout the right geometry and you will need to tell it.\n\nC<lines> is a list of lines that we feed to C<sfdisk>. For more\ninformation refer to the L<sfdisk(8)> manpage.\n\nTo create a single partition occupying the whole disk, you would\npass C<lines> as a single element list, when the single element being\nthe string C<,> (comma).\n\nB<This command is dangerous. Without careful use you\ncan easily destroy all your data>.");
diff --git a/guestfish-actions.pod b/guestfish-actions.pod
index f1b624b2..62be2a91 100644
--- a/guestfish-actions.pod
+++ b/guestfish-actions.pod
@@ -779,7 +779,7 @@ as necessary. This is like the C<mkdir -p> shell command.
mkfs fstype device
This creates a filesystem on C<device> (usually a partition
-of LVM logical volume). The filesystem type is C<fstype>, for
+or LVM logical volume). The filesystem type is C<fstype>, for
example C<ext3>.
=head2 mount
diff --git a/guestfs-actions.pod b/guestfs-actions.pod
index 871ad3cf..23e05801 100644
--- a/guestfs-actions.pod
+++ b/guestfs-actions.pod
@@ -1026,7 +1026,7 @@ This function returns 0 on success or -1 on error.
const char *device);
This creates a filesystem on C<device> (usually a partition
-of LVM logical volume). The filesystem type is C<fstype>, for
+or LVM logical volume). The filesystem type is C<fstype>, for
example C<ext3>.
This function returns 0 on success or -1 on error.
diff --git a/java/com/redhat/et/libguestfs/GuestFS.java b/java/com/redhat/et/libguestfs/GuestFS.java
index 07253176..cd5fdeed 100644
--- a/java/com/redhat/et/libguestfs/GuestFS.java
+++ b/java/com/redhat/et/libguestfs/GuestFS.java
@@ -1420,7 +1420,7 @@ public class GuestFS {
* make a filesystem
*
* This creates a filesystem on "device" (usually a
- * partition of LVM logical volume). The filesystem type is
+ * partition or LVM logical volume). The filesystem type is
* "fstype", for example "ext3".
*
* @throws LibGuestFSException
diff --git a/perl/lib/Sys/Guestfs.pm b/perl/lib/Sys/Guestfs.pm
index 7331053e..116f7163 100644
--- a/perl/lib/Sys/Guestfs.pm
+++ b/perl/lib/Sys/Guestfs.pm
@@ -728,7 +728,7 @@ as necessary. This is like the C<mkdir -p> shell command.
=item $h->mkfs ($fstype, $device);
This creates a filesystem on C<device> (usually a partition
-of LVM logical volume). The filesystem type is C<fstype>, for
+or LVM logical volume). The filesystem type is C<fstype>, for
example C<ext3>.
=item $h->mount ($device, $mountpoint);
diff --git a/python/guestfs.py b/python/guestfs.py
index d03a7a9d..3db9ac0f 100644
--- a/python/guestfs.py
+++ b/python/guestfs.py
@@ -700,7 +700,7 @@ class GuestFS:
def mkfs (self, fstype, device):
u"""This creates a filesystem on "device" (usually a
- partition of LVM logical volume). The filesystem type is
+ partition or LVM logical volume). The filesystem type is
"fstype", for example "ext3".
"""
return libguestfsmod.mkfs (self._o, fstype, device)
diff --git a/src/generator.ml b/src/generator.ml
index 7d210654..4c8c2e1b 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -989,7 +989,7 @@ on the volume group C<volgroup>, with C<size> megabytes.");
"make a filesystem",
"\
This creates a filesystem on C<device> (usually a partition
-of LVM logical volume). The filesystem type is C<fstype>, for
+or LVM logical volume). The filesystem type is C<fstype>, for
example C<ext3>.");
("sfdisk", (RErr, [String "device";