summaryrefslogtreecommitdiffstats
path: root/fish
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-12-12 10:02:00 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-12-12 10:02:00 +0000
commite49aefd1f8a85c02d344cef18c8b07aa1c2187f9 (patch)
treec409e5699eba0deaf9b285409785aaa4cb0b80c0 /fish
parente6a3770b43383d66f39230510d8ff01083d5c3ac (diff)
downloadlibguestfs-e49aefd1f8a85c02d344cef18c8b07aa1c2187f9.tar.gz
libguestfs-e49aefd1f8a85c02d344cef18c8b07aa1c2187f9.tar.xz
libguestfs-e49aefd1f8a85c02d344cef18c8b07aa1c2187f9.zip
fish: Clarify documentation for --ro option.
Diffstat (limited to 'fish')
-rw-r--r--fish/guestfish.pod7
1 files changed, 4 insertions, 3 deletions
diff --git a/fish/guestfish.pod b/fish/guestfish.pod
index 71814cca..f1a74096 100644
--- a/fish/guestfish.pod
+++ b/fish/guestfish.pod
@@ -354,15 +354,16 @@ L</REMOTE CONTROL GUESTFISH OVER A SOCKET> below.
=item B<--ro>
-This changes the I<-a> and I<-m> options so that disks are added and
-mounts are done read-only (see L<guestfs(3)/guestfs_mount_ro>).
+This changes the I<-a>, I<-d> and I<-m> options so that disks are
+added and mounts are done read-only.
The option must always be used if the disk image or virtual machine
might be running, and is generally recommended in cases where you
don't need write access to the disk.
Note that prepared disk images created with I<-N> are not affected by
-the I<--ro> option.
+this option. Also commands like C<add> are not affected - you have to
+specify the C<readonly:true> option explicitly if you need it.
See also L</OPENING DISKS FOR READ AND WRITE> below.