summaryrefslogtreecommitdiffstats
path: root/isys/isys.py
diff options
context:
space:
mode:
Diffstat (limited to 'isys/isys.py')
-rw-r--r--isys/isys.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/isys/isys.py b/isys/isys.py
index 2f104ee5c..176b572ab 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -141,7 +141,7 @@ def ddfile(file, megs, pw = None):
os.close(fd)
-def mount(device, location, fstype = "ext2", readOnly = 0):
+def mount(device, location, fstype = "ext2", readOnly = 0, bindMount = 0):
location = os.path.normpath(location)
#
@@ -160,7 +160,8 @@ def mount(device, location, fstype = "ext2", readOnly = 0):
mountCount[location] = mountCount[location] + 1
return
- rc = _isys.mount(fstype, device, location, readOnly)
+ log("going to mount %s on %s" %(device, location))
+ rc = _isys.mount(fstype, device, location, readOnly, bindMount)
if not rc:
mountCount[location] = 1