summaryrefslogtreecommitdiffstats
path: root/isys/isys.py
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2008-04-08 16:31:31 -0400
committerPeter Jones <pjones@pjones2.localdomain>2008-04-08 16:31:31 -0400
commit52b298adb35cf71db08118af0096f1fa86b66686 (patch)
treea0ef0b4470a0f2245c88cc6c1b4ea6ff6690481c /isys/isys.py
parent441ccff98ec88d3ecfc9c6926ff2e0d17801678f (diff)
downloadanaconda-52b298adb35cf71db08118af0096f1fa86b66686.tar.gz
anaconda-52b298adb35cf71db08118af0096f1fa86b66686.tar.xz
anaconda-52b298adb35cf71db08118af0096f1fa86b66686.zip
Use umask=0077,shortname=winnt on all vfat filesystems.
Pass mount options to isys.mount.
Diffstat (limited to 'isys/isys.py')
-rwxr-xr-xisys/isys.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/isys/isys.py b/isys/isys.py
index 6dc7f7542..983237ed0 100755
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -307,9 +307,10 @@ def ddfile(file, megs, pw = None):
# @param bindMount Is this a bind mount? (see the mount(8) man page)
# @param remount Are we mounting an already mounted filesystem?
# @return The return value from the mount system call.
-def mount(device, location, fstype = "ext2", readOnly = 0, bindMount = 0, remount = 0):
+def mount(device, location, fstype = "ext2", readOnly = 0, bindMount = 0, remount = 0, options = "defaults"):
flags = None
location = os.path.normpath(location)
+ opts = string.split(options)
# We don't need to create device nodes for devices that start with '/'
# (like '/usbdevfs') and also some special fake devices like 'proc'.
@@ -323,7 +324,6 @@ def mount(device, location, fstype = "ext2", readOnly = 0, bindMount = 0, remoun
return
if readOnly or bindMount or remount:
- opts = []
if readOnly:
opts.append("ro")
if bindMount: