index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
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 | 73d0fe2e8c840bfc548d3b4fa278f7ebdaa44e64 (patch) | |
tree | 464d72cd6ffee4c9d2f978a963930f484bea1383 | |
parent | 16f9e47fef64b16bea1b49e0c1506103cfb054f4 (diff) |
-rw-r--r-- | archiso/hooks/archiso | 10 |
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" |