Skip to content

Commit

Permalink
Make sure mounting /cow-tmpfs provides mount options.
Browse files Browse the repository at this point in the history
  • Loading branch information
mika authored and daniel-baumann committed Jul 17, 2008
1 parent 64111c0 commit b453283
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/live
Expand Up @@ -1118,6 +1118,8 @@ setup_unionfs ()
nfsmount ${nfs_cow_opts} ${cowdevice} /cow || \
panic "Can not mount ${cowdevice} (n: ${cow_fstype}) on /cow"
else
# make sure cow_mountopt is set:
[ -n "$cow_mountopt" ] || cow_mountopt="rw,noatime,mode=755"
mount -t ${cow_fstype} -o ${cow_mountopt} ${cowdevice} /cow || \
panic "Can not mount ${cowdevice} (o: ${cow_fstype}) on /cow"
fi
Expand Down

0 comments on commit b453283

Please sign in to comment.