From e1ad166158497901dbbab89ded0cfcf8ebddb119 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Sat, 23 Jul 2011 21:16:57 +0200 Subject: [PATCH] Loop-mount ISO with read-only option Quiets a mount warning. --- grml2usb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.1.4