Block certain directories from saving changes

Post here if you are a new Porteus member and you're looking for some help.
hawkeye93
Ronin
Ronin
Posts: 1
Joined: 25 Jul 2019, 12:33
Distribution: Porteus 4.0 32-bit

Block certain directories from saving changes

Post#1 by hawkeye93 » 13 Jun 2022, 21:46

When using the "changes=" cheatcode on an ext4 filesystem, is there any way to prevent certain specified directories from having changes recorded? Or vice-versa, a way to only allow changes to be recorded for specified directories?

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Block certain directories from saving changes

Post#2 by tome » 14 Jun 2022, 16:05

Yes, by symlinks.
You have mind and feelings. Be wise and clever.

donald
Full of knowledge
Full of knowledge
Posts: 2063
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Block certain directories from saving changes

Post#3 by donald » 14 Jun 2022, 20:35

Maybe use the changes=EXIT cheatcode.
(read /boot/docs/cheatcodes.txt)

Ex- or include folders in /etc/changes-exit.conf

Post Reply