summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorCharles Duffy <cduffy@messageone.com>2009-06-02 11:30:26 -0500
committerRichard Jones <rjones@trick.home.annexia.org>2009-06-02 19:16:34 +0100
commitd1da506d35e3c14b0bbe5397d73994fe082bc831 (patch)
tree7cf171da47df4b89f5c18d45751da5a57e4f0ec2 /python
parent76711b7e918f6dc504d3b5e11c6cac5ee11cc34f (diff)
downloadlibguestfs-d1da506d35e3c14b0bbe5397d73994fe082bc831.tar.gz
libguestfs-d1da506d35e3c14b0bbe5397d73994fe082bc831.tar.xz
libguestfs-d1da506d35e3c14b0bbe5397d73994fe082bc831.zip
use add_drive_ro for --mount parameters from guestfish when called with --ro
To prevent writes (such as ext3 journal replay) from occuring even when --ro is passed, guestfish should use add_drive_ro() for any drives specified on the command line with --add if --ro is also passed. As we need to look through the entire command line for --ro before adding any drives, we move the add process out of the argument-parsing loop and into its own function, patterned off mount_mps(). Signed-off-by: Charles Duffy <charles_duffy@dell.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions