projects
/
grml2usb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Loop-mount ISO with read-only option
[grml2usb.git]
/
grml2usb
diff --git
a/grml2usb
b/grml2usb
index
392c57c
..
7bb2670
100755
(executable)
--- a/
grml2usb
+++ b/
grml2usb
@@
-1884,7
+1884,7
@@
def install(image, device):
register_tmpfile(iso_mountpoint)
remove_image_mountpoint = True
try:
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)
except CriticalException, error:
logging.critical("Fatal: %s", error)
sys.exit(1)