git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: Sort EXTRA_DIST into lexicographic order.
[libguestfs.git]
/
generator
/
generator_actions.ml
diff --git
a/generator/generator_actions.ml
b/generator/generator_actions.ml
index
26dc64e
..
c259d8e
100644
(file)
--- a/
generator/generator_actions.ml
+++ b/
generator/generator_actions.ml
@@
-155,7
+155,7
@@
and specifying the format.");
"\
This function adds a virtual CD-ROM disk image to the guest.
"\
This function adds a virtual CD-ROM disk image to the guest.
-This is equivalent to the qemu parameter
C
<-cdrom filename>.
+This is equivalent to the qemu parameter
I
<-cdrom filename>.
Notes:
Notes:
@@
-190,7
+190,7
@@
automatically.");
"add qemu parameters",
"\
This can be used to add arbitrary qemu command line parameters
"add qemu parameters",
"\
This can be used to add arbitrary qemu command line parameters
-of the form
C
<-param value>. Actually it's not quite arbitrary - we
+of the form
I
<-param value>. Actually it's not quite arbitrary - we
prevent you from setting some parameters which would interfere with
parameters that we use.
prevent you from setting some parameters which would interfere with
parameters that we use.
@@
-791,6
+791,10
@@
Currently defined distros are:
Arch Linux.
Arch Linux.
+=item \"centos\"
+
+CentOS.
+
=item \"debian\"
Debian.
=item \"debian\"
Debian.
@@
-825,7
+829,11
@@
Some Red Hat-derived distro.
=item \"rhel\"
=item \"rhel\"
-Red Hat Enterprise Linux and some derivatives.
+Red Hat Enterprise Linux.
+
+=item \"scientificlinux\"
+
+Scientific Linux.
=item \"slackware\"
=item \"slackware\"
@@
-2253,7
+2261,7
@@
of compressed file.
The exact command which runs is C<file -zb path>. Note in
particular that the filename is not prepended to the output
The exact command which runs is C<file -zb path>. Note in
particular that the filename is not prepended to the output
-(the
C
<-b> option).
+(the
I
<-b> option).
This command can also be used on C</dev/> devices
(and partitions, LV names). You can for example use this
This command can also be used on C</dev/> devices
(and partitions, LV names). You can for example use this
@@
-2957,10
+2965,9
@@
Checking or repairing NTFS volumes is not supported
This command is entirely equivalent to running C<fsck -a -t fstype device>.");
("zero", (RErr, [Device "device"], []), 85, [Progress],
This command is entirely equivalent to running C<fsck -a -t fstype device>.");
("zero", (RErr, [Device "device"], []), 85, [Progress],
- [InitBasicFS, Always, Test
Output
(
+ [InitBasicFS, Always, Test
Run
(
[["umount"; "/dev/sda1"];
[["umount"; "/dev/sda1"];
- ["zero"; "/dev/sda1"];
- ["file"; "/dev/sda1"]], "data")],
+ ["zero"; "/dev/sda1"]])],
"write zeroes to the device",
"\
This command writes zeroes over the first few blocks of C<device>.
"write zeroes to the device",
"\
This command writes zeroes over the first few blocks of C<device>.
@@
-3372,8
+3379,8
@@
See also C<guestfs_find0>.");
"check an ext2/ext3 filesystem",
"\
This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3
"check an ext2/ext3 filesystem",
"\
This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3
-filesystem checker on C<device>, noninteractively (
C
<-p>),
-even if the filesystem appears to be clean (
C
<-f>).
+filesystem checker on C<device>, noninteractively (
I
<-p>),
+even if the filesystem appears to be clean (
I
<-f>).
This command is only needed because of C<guestfs_resize2fs>
(q.v.). Normally you should use C<guestfs_fsck>.");
This command is only needed because of C<guestfs_resize2fs>
(q.v.). Normally you should use C<guestfs_fsck>.");
@@
-4149,7
+4156,7
@@
This command creates a hard link using the C<ln> command.");
"create a hard link",
"\
This command creates a hard link using the C<ln -f> command.
"create a hard link",
"\
This command creates a hard link using the C<ln -f> command.
-The
C
<-f> option removes the link (C<linkname>) if it exists already.");
+The
I
<-f> option removes the link (C<linkname>) if it exists already.");
("ln_s", (RErr, [String "target"; Pathname "linkname"], []), 166, [],
[InitScratchFS, Always, TestOutputStruct (
("ln_s", (RErr, [String "target"; Pathname "linkname"], []), 166, [],
[InitScratchFS, Always, TestOutputStruct (
@@
-4170,7
+4177,7
@@
This command creates a symbolic link using the C<ln -s> command.");
"create a symbolic link",
"\
This command creates a symbolic link using the C<ln -sf> command,
"create a symbolic link",
"\
This command creates a symbolic link using the C<ln -sf> command,
-The
C
<-f> option removes the link (C<linkname>) if it exists already.");
+The
I
<-f> option removes the link (C<linkname>) if it exists already.");
("readlink", (RString "link", [Pathname "path"], []), 168, [],
[] (* XXX tested above *),
("readlink", (RString "link", [Pathname "path"], []), 168, [],
[] (* XXX tested above *),
@@
-5853,7
+5860,7
@@
For UFS block sizes, please see L<mkfs.ufs(8)>.
=item C<features>
=item C<features>
-This passes the
C
<-O> parameter to the external mkfs program.
+This passes the
I
<-O> parameter to the external mkfs program.
For certain filesystem types, this allows extra filesystem
features to be selected. See L<mke2fs(8)> and L<mkfs.ufs(8)>
For certain filesystem types, this allows extra filesystem
features to be selected. See L<mke2fs(8)> and L<mkfs.ufs(8)>
@@
-5909,7
+5916,7
@@
See also: C<guestfs_lgetxattrs>, C<guestfs_getxattr>, L<attr(5)>.");
"resize an ext2, ext3 or ext4 filesystem to the minimum size",
"\
This command is the same as C<guestfs_resize2fs>, but the filesystem
"resize an ext2, ext3 or ext4 filesystem to the minimum size",
"\
This command is the same as C<guestfs_resize2fs>, but the filesystem
-is resized to its minimum size. This works like the
C
<-M> option
+is resized to its minimum size. This works like the
I
<-M> option
to the C<resize2fs> command.
To get the resulting size of the filesystem you should call
to the C<resize2fs> command.
To get the resulting size of the filesystem you should call