X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-main.sh;h=e5884f9377e911a7d42e7376e6508e646392f134;hb=f5716f9a79564e44e38f5d4164a4dc1d77cb8c3a;hp=85b8a1de4b0394ae00d6aa778957644d2f50124a;hpb=e31d7cec9e48617a7509bab38cac32958f431d4e;p=live-boot-grml.git diff --git a/components/9990-main.sh b/components/9990-main.sh index 85b8a1d..e5884f9 100755 --- a/components/9990-main.sh +++ b/components/9990-main.sh @@ -58,6 +58,7 @@ Live () then # We found a memdisk, set up phram modprobe phram phram=memdisk,${MEMDISK} + modprobe phram phram=memdisk,${MEMDISK} # Load mtdblock, the memdisk will be /dev/mtdblock0 modprobe mtdblock @@ -148,15 +149,6 @@ Live () log_end_msg - # unionfs-fuse needs /dev to be bind-mounted for the duration of - # live-bottom; udev's init script will take care of things after that - case "${UNIONTYPE}" in - unionfs-fuse) - mount -n -o bind /dev "${rootmnt}/dev" - ;; - esac - - # aufs2 in kernel versions around 2.6.33 has a regression: # directories can't be accessed when read for the first the time, # causing a failure for example when accessing /var/lib/fai @@ -201,12 +193,6 @@ Live () Swap - case "${UNIONFS}" in - unionfs-fuse) - umount "${rootmnt}/dev" - ;; - esac - exec 1>&6 6>&- exec 2>&7 7>&- kill ${tailpid}