=== The ISO for testing AUFS function ===
This ISO is intended to study how to "deactivate".
Porteus-XFCE-v5.0rc2-k5.10.11.auf-x86_64.iso (359 M)
https://www.mediafire.com/file/l6aplvv0 ... x86_64.iso
md5sum: ce1802716f5c490ea0ac9fff45c95bbc Porteus-XFCE-v5.0rc2-k5.10.11.auf-x86_64.iso
This ISO was updated from Porteus-XFCE-v5.0rc2-x86_64.iso.
1. ISO/boot/syslinux/vmlinuz & ISO/porteus/base/000-kernel.xzm
were replaced with the
kernel 5.10.11 that was
applied with
AUFS patch (Ver. 5.10-20210111)
and
built with
old config (neko-64bit.config)
2. ISO/boot/syslinux/initrd.xz
linuxrc in initrd.xz was updated as follow.
Code: Select all
# diff -r old/linuxrc new/linuxrc
256a257,283
>
> # Add "changes on exit" device/file/folder:
> rm -fr /tmp/mod
>
> if [ -e /tmp/changes-exit ]; then
> mkdir /memory/images/changes
> if [ -d $CHNEXIT ]; then
> mount -o bind $CHNEXIT/changes /memory/images/changes
> elif [ -b /dev/mapper/crypt ]; then
> mount /dev/mapper/crypt /memory/images/changes
> else
> mount -o loop $CHNEXIT /memory/images/changes
> fi
>
> # echo " $m changes"; mount -no remount,add:1:/memory/images/changes=ro aufs /union
> # echo $CHNEXIT/changes >>/tmp/modules
> echo changes >> /tmp/mod
>
> # param changes-ro && rm /tmp/changes-exit
> fi
>
>
>
> #index=1;
>
> sort -r /tmp/modules >> /tmp/mod
>
262c289,290
< echo " $m $NAME"; mount -no remount,add:1:/memory/images/"$NAME"=rr aufs /union
---
> echo " $m $NAME"; mount -no remount,append:/memory/images/"$NAME"=rr aufs /union
> # index=`expr $index + 1`
266c294,297
< done < /tmp/modules
---
> #done < /tmp/modules
>
> done < /tmp/mod
>
271,279c302,310
< mkdir /memory/images/changes
< if [ -d $CHNEXIT ]; then
< mount -o bind $CHNEXIT/changes /memory/images/changes
< elif [ -b /dev/mapper/crypt ]; then
< mount /dev/mapper/crypt /memory/images/changes
< else
< mount -o loop $CHNEXIT /memory/images/changes
< fi
< echo " $m changes"; mount -no remount,add:1:/memory/images/changes=ro aufs /union
---
> # mkdir /memory/images/changes
> # if [ -d $CHNEXIT ]; then
> # mount -o bind $CHNEXIT/changes /memory/images/changes
> # elif [ -b /dev/mapper/crypt ]; then
> # mount /dev/mapper/crypt /memory/images/changes
> # else
> # mount -o loop $CHNEXIT /memory/images/changes
> # fi
> # echo " $m changes"; mount -no remount,add:1:/memory/images/changes=ro aufs /union
#
3. ISO/porteus/base/001-core.xzm
/opt/porteus-scripts/xorg/
aufs-insert in 001-core.xzm was updated as follow.
Code: Select all
# diff old/opt/porteus-scripts/xorg/aufs-insert new/aufs-insert
63c63
< mount -no remount,add:1:"$MOD"=rr aufs /
---
> mount -no remount,append:"$MOD"=rr aufs /
#
Thanks.