Replace aufs 'add' with 'append'

Change via AUR package

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
Aaron Griffin 2009-06-08 12:36:28 -07:00
parent c9e6ca7366
commit 71d8575fae

View File

@ -33,7 +33,7 @@ _mnt_squashfs()
fi fi
/bin/mount -r -t squashfs "/dev/loop${LOOP_NUM}" "/tmpfs/mnt/loop${LOOP_NUM}" /bin/mount -r -t squashfs "/dev/loop${LOOP_NUM}" "/tmpfs/mnt/loop${LOOP_NUM}"
if [ "${mnt}" = "/" ]; then if [ "${mnt}" = "/" ]; then
/bin/mount -t aufs -o remount,add=:/tmpfs/mnt/loop${LOOP_NUM}=ro none "/real_root" /bin/mount -t aufs -o remount,append=:/tmpfs/mnt/loop${LOOP_NUM}=ro none "/real_root"
else else
_mnt_bind "/tmpfs/mnt/loop${LOOP_NUM}" "${mnt}" _mnt_bind "/tmpfs/mnt/loop${LOOP_NUM}" "${mnt}"
fi fi