From: Michael Prokop Date: Thu, 17 Jul 2008 11:23:00 +0000 (+0200) Subject: Make sure mounting /cow-tmpfs provides mount options. X-Git-Tag: debian/2.0.15-1~499 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=330394c83e8bd37b9c155fb336af37d9ec689e25 Make sure mounting /cow-tmpfs provides mount options. --- diff --git a/scripts/live b/scripts/live index 15710c2..22d2210 100755 --- a/scripts/live +++ b/scripts/live @@ -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