summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-04-14 14:38:11 -0500
committerAaron Griffin <aaronmgriffin@gmail.com>2009-04-14 14:38:11 -0500
commit8d10415b045c239c3ea7aedc128f972f42199da9 (patch)
treecf48fe9ce45132bbfa863aad29616e52fd87cde5 /archiso
parent31c277e575141b4138e924a04562520cb7ce75bc (diff)
downloadarchiso32-8d10415b045c239c3ea7aedc128f972f42199da9.tar.xz
Replace unionfs with aufs
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'archiso')
-rw-r--r--archiso/hooks/archiso10
1 files changed, 5 insertions, 5 deletions
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso
index d38cc30..cf3b161 100644
--- a/archiso/hooks/archiso
+++ b/archiso/hooks/archiso
@@ -21,7 +21,7 @@ _mnt_squashfs()
img="/tmpfs/${base_img}"
fi
- msg "::: Adding new union branch: ${base_img%.*}"
+ msg "::: Adding new aufs branch: ${base_img%.*}"
mkdir -p "/tmpfs/mnt/loop${LOOP_NUM}"
# sometimes it takes udev a while to create device nodes
while [ ! -e "/dev/loop${LOOP_NUM}" ]; do
@@ -33,7 +33,7 @@ _mnt_squashfs()
fi
/bin/mount -r -t squashfs "/dev/loop${LOOP_NUM}" "/tmpfs/mnt/loop${LOOP_NUM}"
if [ "${mnt}" = "/" ]; then
- /bin/mount -t unionfs -o remount,add=:/tmpfs/mnt/loop${LOOP_NUM}=ro none "/real_root"
+ /bin/mount -t aufs -o remount,add=:/tmpfs/mnt/loop${LOOP_NUM}=ro none "/real_root"
else
_mnt_bind "/tmpfs/mnt/loop${LOOP_NUM}" "${mnt}"
fi
@@ -108,10 +108,10 @@ run_hook ()
fi
/bin/modprobe -q squashfs >/dev/null 2>&1
- /bin/modprobe -q unionfs >/dev/null 2>&1
+ /bin/modprobe -q aufs >/dev/null 2>&1
- msg ":: Mounting root (union) filesystem"
- /bin/mount -t unionfs -o dirs=/tmpfs=rw none /real_root
+ msg ":: Mounting root (aufs) filesystem"
+ /bin/mount -t aufs -o dirs=/tmpfs=rw none /real_root
export LOOP_NUM="0"
msg ":: Mounting images"