X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Fguestfish.pod;h=21f25bd84dfd570061f55185b81bcb20e0ca1325;hb=a9802509184341e731de5c9af363184a9964a8a7;hp=71814ccaecde6e54fe854c72b5d1cf69cf588043;hpb=e6a3770b43383d66f39230510d8ff01083d5c3ac;p=libguestfs.git diff --git a/fish/guestfish.pod b/fish/guestfish.pod index 71814cc..21f25bd 100644 --- a/fish/guestfish.pod +++ b/fish/guestfish.pod @@ -354,15 +354,16 @@ L 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). +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 are not affected - you have to +specify the C option explicitly if you need it. See also L below. @@ -462,7 +463,7 @@ disk image read-only you have to do I<-a image --ro>. This matters: If you accidentally open a live VM disk image writable then you will cause irreversible disk corruption. -By libguestfs 1.8 we intend to change the default the other way. Disk +By libguestfs 1.10 we intend to change the default the other way. Disk images will be opened read-only. You will have to either specify I or change a configuration file in order to get write access for disk images specified by those other command line options. @@ -1090,6 +1091,8 @@ Any existing file with the same name will be overwritten. L, L, L, +L, +L, L, L, L, @@ -1101,6 +1104,8 @@ L, L, L, L, +L, +L, L, L.