diff options
author | Dirk von Suchodoletz | 2011-05-25 19:13:01 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2011-05-25 19:13:01 +0200 |
commit | c8ad5463777269037309d90d85dfc9fb48464ad7 (patch) | |
tree | e1624c63d3b6ea8b7cbec1f27988338dc6632c7f /src/initramfs | |
parent | Typos fixed ... (diff) | |
download | core-c8ad5463777269037309d90d85dfc9fb48464ad7.tar.gz core-c8ad5463777269037309d90d85dfc9fb48464ad7.tar.xz core-c8ad5463777269037309d90d85dfc9fb48464ad7.zip |
Union/AUFS/Fuse stuff ... to be checked :)
Diffstat (limited to 'src/initramfs')
-rwxr-xr-x | src/initramfs/scripts/init | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/initramfs/scripts/init b/src/initramfs/scripts/init index bd5e959b..e83dd1c2 100755 --- a/src/initramfs/scripts/init +++ b/src/initramfs/scripts/init @@ -722,14 +722,15 @@ runinithook '40-started-hw-config' # unionfs/aufs modules visible by now if installed or directly compiled into # the kernel, try to use aufs for rw access if available union_type="" -if [ ${aufs} -eq 1 ] && \ - grep -q aufs /proc/filesystems || \ +if [ ${aufs} -eq 1 ] && grep -q aufs /proc/filesystems || \ { modprobe ${MODPRV} aufs 2>/dev/null && \ lsmod | grep -qe "^aufs" ; } ; then union_type="AUFS" -elif [ ${unionfs} -eq 1 ] && \ - grep -q aufs /proc/filesystems || \ +elif [ ${unionfs} -eq 1 ] && grep -q unionfs /proc/filesystems || \ { modprobe ${MODPRV} unionfs 2>/dev/null && \ lsmod | grep -qe "^unionfs" ; } ; then union_type="UnionFS" +elif [ -n "${fuse}" ] && grep -q fuse /proc/filesystems || \ + { modprobe ${MODPRV} fuse 2>/dev/null && \ + lsmod | grep -qe "^fuse" ; } ; then union_type="FuSE" elif [ ${aufs} -eq 0 -a ${unionfs} -eq 0 -a -z "${cowloop}" ] ; then error "$init_deselau" nonfatal unset aufs unionfs |