diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-04-14 14:38:11 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-04-14 14:38:11 -0500 |
commit | 8d10415b045c239c3ea7aedc128f972f42199da9 (patch) | |
tree | cf48fe9ce45132bbfa863aad29616e52fd87cde5 | |
parent | 31c277e575141b4138e924a04562520cb7ce75bc (diff) | |
download | archiso32-8d10415b045c239c3ea7aedc128f972f42199da9.tar.xz |
Replace unionfs with aufs
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rw-r--r-- | archiso/hooks/archiso | 10 |
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" |