projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def6424
)
Loop-mount ISO with read-only option
author
Christian Hofstaedtler
<ch@grml.org>
Sat, 23 Jul 2011 19:16:57 +0000
(21:16 +0200)
committer
Christian Hofstaedtler
<ch@grml.org>
Sat, 23 Jul 2011 19:16:57 +0000
(21:16 +0200)
Quiets a mount warning.
grml2usb
patch
|
blob
|
history
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:
- 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)