* Doh! The mount options weren't passed properly.

svn path=/nixos/trunk/; revision=18047
This commit is contained in:
Eelco Dolstra 2009-10-30 08:49:35 +00:00
parent 11022e8d9f
commit b86e8208d5

View File

@ -21,7 +21,7 @@ let
newDevices=
${flip concatMapStrings fileSystems (fs: ''
for theContinueKeyword in theFollowingCode; do
for dummy in x; do # make `continue' work
mountPoint='${fs.mountPoint}'
device='${if fs.device != null then fs.device else "/dev/disk/by-label/${fs.label}"}'
fsType='${fs.fsType}'
@ -94,7 +94,7 @@ let
''
}
if ${mount}/bin/mount -t "$fsType" -o "$options" "$device" "$mountPoint"; then
if ${mount}/bin/mount -t "$fsType" -o "${fs.options}" "$device" "$mountPoint"; then
newDevices=1
fi
done