From: Christian Hofstaedtler Date: Sat, 23 Jul 2011 19:16:57 +0000 (+0200) Subject: Loop-mount ISO with read-only option X-Git-Tag: v0.9.35~16 X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=e1ad166158497901dbbab89ded0cfcf8ebddb119 Loop-mount ISO with read-only option Quiets a mount warning. --- diff --git a/grml2usb b/grml2usb index 392c57c..7bb2670 100755 --- a/grml2usb +++ b/grml2usb @@ -1884,7 +1884,7 @@ def install(image, device): register_tmpfile(iso_mountpoint) remove_image_mountpoint = True try: - mount(image, iso_mountpoint, ["-o", "loop", "-t", "iso9660"]) + mount(image, iso_mountpoint, ["-o", "loop,ro", "-t", "iso9660"]) except CriticalException, error: logging.critical("Fatal: %s", error) sys.exit(1)