With these changes to the fll script you can boot the siduction style squashfs must use BOTH, aufs and force_aufs boot codes.
this will boot into live siduction in aufs style there will be directories /fll/aufs /fll/siduction /fll/your-media-drive and an additional /fll/siductionforce_aufs directory which will hold the ext4 sparse siduction.686 file
As I said above I need to know how to test for the new style squashfs file from inside the fll script and then it would work properly as should be using just aufs boot code for aufs style and none or dmsetup for current style boot.
--- original/scripts/fll 2012-01-04 11:29:12.000000000 +0000
+++ force_aufs/scripts/fll 2012-01-28 15:32:03.000000000 +0000
@@ -511,6 +511,11 @@
toram)
FLL_TORAM="yes"
;;
+ force_aufs)
+ # force aufs when dm style squashfs is used (current siduction)
+ # Probably unnecessary, but haven't worked how to just test for dmstyle squashfs in script
+ FLL_FORCE_AUFS="${opt}"
+ ;;
unionfs|aufs)
# set FLL_UNION_MODULE in default/distro if needed
# current default is dmsetup
@@ -809,10 +814,10 @@
#
# mount compressed filesystem, source directory: FLL_BLOCKMNT
#
- mkdir -p "${FLL_MOUNTPOINT}"
- if [ -n "${FLL_UNION_MODULE}" ] && [ "${FLL_UNION_MODULE}" != "dmsetup" ] && fll_mount "${FSTYPE}" "${FLL_BLOCKMNT}/${FLL_IMAGE_LOCATION}" "${FLL_MOUNTPOINT}"; then
- printf "Mounted ${FSTYPE} filesystem on ${FLL_MOUNTPOINT}\n\n"
- FLL_DOMOVEMOUNT="${FLL_MOUNTPOINT} ${FLL_DOMOVEMOUNT}"
+ mkdir -p "${FLL_MOUNTPOINT}${FLL_FORCE_AUFS}"
+ if [ -n "${FLL_UNION_MODULE}" ] && [ "${FLL_UNION_MODULE}" != "dmsetup" ] && fll_mount "${FSTYPE}" "${FLL_BLOCKMNT}/${FLL_IMAGE_LOCATION}" "${FLL_MOUNTPOINT}${FLL_FORCE_AUFS}"; then
+ printf "Mounted ${FSTYPE} filesystem on ${FLL_MOUNTPOINT}${FLL_FORCE_AUFS}\n\n"
+ FLL_DOMOVEMOUNT="${FLL_MOUNTPOINT}${FLL_FORCE_AUFS} ${FLL_DOMOVEMOUNT}"
elif [ -z "${FLL_UNION_MODULE}" ] || [ "${FLL_UNION_MODULE}" = "dmsetup" ]; then
mkdir -p "${FLL_MOUNTPOINT}.mnt"
if fll_mount "${FSTYPE}" "${FLL_BLOCKMNT}/${FLL_IMAGE_LOCATION}" "${FLL_MOUNTPOINT}.mnt" ; then
@@ -1015,6 +1020,10 @@
#
# union module specific options
#
+ if [ "${FLL_FORCE_AUFS}" == "force_aufs" ] ; then
+ mkdir -p "${rootmnt}${FLL_MOUNTPOINT}"
+ mount -t ext4 "${rootmnt}${FLL_MOUNTPOINT}${FLL_FORCE_AUFS}/siduction.686" "${rootmnt}${FLL_MOUNTPOINT}"
+ fi
case "${FLL_UNION_MODULE}" in
aufs)
FLL_UNION_OPTIONS="br:${FLL_UNION_COWMNTPNT}${FLL_UNION_COWDIR}:${rootmnt}${FLL_MOUNTPOINT}"
additional info - only have 32bit computer cannot test 64bit
ian_s