git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the --ro option (readonly) to guestfish.
[libguestfs.git]
/
guestfish.pod
diff --git
a/guestfish.pod
b/guestfish.pod
index
1dc7730
..
45a2854
100644
(file)
--- a/
guestfish.pod
+++ b/
guestfish.pod
@@
-18,7
+18,7
@@
Create a new C</etc/motd> file in a guest:
add disk.img
run
mount /dev/VolGroup00/LogVol00 /
add disk.img
run
mount /dev/VolGroup00/LogVol00 /
- upload new_motd /etc/motd
+ write_file /etc/motd "Hello users" 0
_EOF_
List the LVs in a guest:
_EOF_
List the LVs in a guest:
@@
-97,6
+97,11
@@
automatically launched.
Disable autosync. This is enabled by default. See the discussion
of autosync in the L<guestfs(3)> manpage.
Disable autosync. This is enabled by default. See the discussion
of autosync in the L<guestfs(3)> manpage.
+=item B<-r> | B<--ro>
+
+This changes the C<-m> option so that mounts are done read-only
+(see C<guestfs_mount_ro> in the L<guestfs(3)> manpage).
+
=item B<-v> | B<--verbose>
Enable very verbose messages. This is particularly useful if you find
=item B<-v> | B<--verbose>
Enable very verbose messages. This is particularly useful if you find
@@
-233,6
+238,12
@@
same effect as using the B<-v> option.
Set the path that guestfish uses to search for kernel and initrd.img.
See the discussion of paths in L<guestfs(3)>.
Set the path that guestfish uses to search for kernel and initrd.img.
See the discussion of paths in L<guestfs(3)>.
+=item LIBGUESTFS_QEMU
+
+Set the default qemu binary that libguestfs uses. If not set, then
+the qemu which was found at compile time by the configure script is
+used.
+
=item HOME
If compiled with GNU readline support, then the command history
=item HOME
If compiled with GNU readline support, then the command history