From: Richard W.M. Jones Date: Wed, 30 Mar 2011 15:33:14 +0000 (+0100) Subject: rescue: Add -w|--rw option. X-Git-Tag: 1.9.15~9 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=4155d20014b24b2203c4dd8b00e2e19450a7e3bb;p=libguestfs.git rescue: Add -w|--rw option. --- diff --git a/rescue/virt-rescue.c b/rescue/virt-rescue.c index 0189245..8341e97 100644 --- a/rescue/virt-rescue.c +++ b/rescue/virt-rescue.c @@ -76,6 +76,7 @@ usage (int status) " --selinux Enable SELinux\n" " -v|--verbose Verbose messages\n" " -V|--version Display version and exit\n" + " -w|--rw Mount read-write\n" " -x Trace libguestfs API calls\n" "For more information, see the manpage %s(1).\n"), program_name, program_name, program_name, @@ -107,6 +108,7 @@ main (int argc, char *argv[]) { "memsize", 1, 0, 'm' }, { "network", 0, 0, 0 }, { "ro", 0, 0, 'r' }, + { "rw", 0, 0, 'w' }, { "selinux", 0, 0, 0 }, { "verbose", 0, 0, 'v' }, { "version", 0, 0, 'V' }, @@ -189,6 +191,10 @@ main (int argc, char *argv[]) OPTION_V; break; + case 'w': + OPTION_w; + break; + case 'x': OPTION_x; break; diff --git a/rescue/virt-rescue.pod b/rescue/virt-rescue.pod index 415bcda..9dbdd5e 100755 --- a/rescue/virt-rescue.pod +++ b/rescue/virt-rescue.pod @@ -184,6 +184,13 @@ Enable verbose messages for debugging. Display version number and exit. +=item B<-w> + +=item B<--rw> + +This option does nothing at the moment. +See L. + =item B<-x> Enable tracing of libguestfs API calls.