From: Richard W.M. Jones Date: Fri, 1 May 2009 17:51:15 +0000 (+0100) Subject: Typo in documentation. X-Git-Tag: 1.0.19~20 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=0cad78b28d48dfcc31f53292d0424ba5ded7fe12;p=libguestfs.git Typo in documentation. --- diff --git a/fish/cmds.c b/fish/cmds.c index 0597738..dc5d6a3 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 \n\nThis creates an LVM volume group called C\non the volume group C, with C megabytes."); else if (strcasecmp (cmd, "mkfs") == 0) - pod2text ("mkfs - make a filesystem", " mkfs \n\nThis creates a filesystem on C (usually a partition\nof LVM logical volume). The filesystem type is C, for\nexample C."); + pod2text ("mkfs - make a filesystem", " mkfs \n\nThis creates a filesystem on C (usually a partition\nor LVM logical volume). The filesystem type is C, for\nexample C."); else if (strcasecmp (cmd, "sfdisk") == 0) pod2text ("sfdisk - create partitions on a block device", " sfdisk \n\nThis is a direct interface to the L program for creating\npartitions on block devices.\n\nC should be a block device, for example C.\n\nC, C and C 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 is a list of lines that we feed to C. For more\ninformation refer to the L manpage.\n\nTo create a single partition occupying the whole disk, you would\npass C as a single element list, when the single element being\nthe string C<,> (comma).\n\nB."); diff --git a/guestfish-actions.pod b/guestfish-actions.pod index f1b624b..62be2a9 100644 --- a/guestfish-actions.pod +++ b/guestfish-actions.pod @@ -779,7 +779,7 @@ as necessary. This is like the C shell command. mkfs fstype device This creates a filesystem on C (usually a partition -of LVM logical volume). The filesystem type is C, for +or LVM logical volume). The filesystem type is C, for example C. =head2 mount diff --git a/guestfs-actions.pod b/guestfs-actions.pod index 871ad3c..23e0580 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 (usually a partition -of LVM logical volume). The filesystem type is C, for +or LVM logical volume). The filesystem type is C, for example C. 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 0725317..cd5fdee 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 7331053..116f716 100644 --- a/perl/lib/Sys/Guestfs.pm +++ b/perl/lib/Sys/Guestfs.pm @@ -728,7 +728,7 @@ as necessary. This is like the C shell command. =item $h->mkfs ($fstype, $device); This creates a filesystem on C (usually a partition -of LVM logical volume). The filesystem type is C, for +or LVM logical volume). The filesystem type is C, for example C. =item $h->mount ($device, $mountpoint); diff --git a/python/guestfs.py b/python/guestfs.py index d03a7a9..3db9ac0 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 7d21065..4c8c2e1 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -989,7 +989,7 @@ on the volume group C, with C megabytes."); "make a filesystem", "\ This creates a filesystem on C (usually a partition -of LVM logical volume). The filesystem type is C, for +or LVM logical volume). The filesystem type is C, for example C."); ("sfdisk", (RErr, [String "device";