copy_exec /usr/bin/eject /bin
fi
+# Program: mount
+# fuse does not work with klibc mount
+copy_exec /bin/mount /bin/mount.util-linux
+
[ "${QUIET}" ] || echo -n " utils"
# Feature: Verify Checksums
;;
esac
-case "${LIVE_UNIONMOUNT}" in
- true)
- [ "${QUIET}" ] || echo -n " unionmount"
-
- # UnionMount
- # only mount from patched util-linux can do this currently
- copy_exec /bin/mount /bin/mount_full
- ;;
-esac
-
[ "${QUIET}" ] || echo .
export DHCP
;;
+ klibc-mount=*)
+ KLIBC_MOUNT="${_PARAMETER#klibc-mount=}"
+ export KLIBC_MOUNT
+ ;;
+
ethdevice=*)
DEVICE="${_PARAMETER#ethdevice=}"
ETHDEVICE="${DEVICE}"
. /conf/param.conf
fi
+ if [ -x /bin/mount.util-linux ] && [ -z "${KLIBC_MOUNT}" ]
+ then
+ # fuse does not work with klibc mount
+ ln -f /bin/mount.util-linux /bin/mount
+ fi
+
# Needed here too because some things (*cough* udev *cough*)
# changes the timeout
then
# FIXME: handle PERSISTENCE_READONLY
unionmountopts="-t ${cow_fstype} -o noatime,union,${cow_mountopt} ${cowdevice}"
- mount_full $unionmountopts "${unionmountpoint}"
+ # unionmount only works with util-linux mount
+ mount.util-linux $unionmountopts "${unionmountpoint}"
else
cow_dir="/live/overlay${dir}"
rootfs_dir="${rootfs}${dir}"