In Porteus 4.0 x64, when I manually activate a module and invoke the app, I can see its folder with the changes appearing in the live folder tree. However, those changes are not reflected in the changes sub-folder on the USB. I can stop and deactivate the module -- the changes sub-tree remains mounted in live file system.
That's to be expected because I actually boot with "changes=EXIT:/porteus/". Unfortunately, neither running the dump-session, nor actually rebooting saves the changes. The normal changes=/porteus/ cheatcode works fine.
changes not saved on EXIT or by dump-session
- ncmprhnsbl
- DEV Team
- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
changes not saved on EXIT or by dump-session
i could be completely wrong, but .. maybe, try "changes=EXIT:/dev/<your device>/porteus/" or even "changes=EXIT:/dev/<your device>/porteus/<name of changes folder>" ie. full path
somebody who actually uses change=EXIT: , might have a better idea..
.. what does cat /mnt/live/tmp/changes-exit give?
somebody who actually uses change=EXIT: , might have a better idea..
.. what does cat /mnt/live/tmp/changes-exit give?
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
changes not saved on EXIT or by dump-session
Another file to check would be the changes-exit.conf file to see if it may be impacting your changes.
It's possible that the changes file only saves changes made to modules present when booting. Which from a changes file space point of view is a valid approach. Why save changes to folders which may never be used again.
So, you could create a module of your changes which you activate after you activate the module in question or you recreate the module you're using with your changes added to it.
It's possible that the changes file only saves changes made to modules present when booting. Which from a changes file space point of view is a valid approach. Why save changes to folders which may never be used again.
So, you could create a module of your changes which you activate after you activate the module in question or you recreate the module you're using with your changes added to it.
-
- Warlord
- Posts: 768
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
changes not saved on EXIT or by dump-session
Code: Select all
root@porteus:~# dump-session
syncing what's left in buffers
saving changes to /mnt/sdb2//porteus/ - this may take a while...
find: `bin': No such file or directory
find: `lib': No such file or directory
find: `lib64': No such file or directory
find: `opt': No such file or directory
find: `sbin': No such file or directory
sed: -e expression #4, char 1: unknown command: `_'
sed: -e expression #4, char 1: unknown command: `_'
sed: -e expression #4, char 1: unknown command: `_'
sed: -e expression #4, char 1: unknown command: `_'
sed: -e expression #4, char 1: unknown command: `_'
sed: -e expression #4, char 1: unknown command: `_'
find: `bin': No such file or directory
find: `lib': No such file or directory
find: `lib64': No such file or directory
find: `opt': No such file or directory
find: `sbin': No such file or directory
session saved
root@porteus:~# cat /mnt/live/tmp/changes-exit
/mnt/sdb2//porteus/
Code: Select all
root@porteus:~# cat /etc/changes-exit.conf
# Folders listed in this config file will be saved during reboot and shutdown when 'changes=EXIT:' cheatcode is used.
# Folders starting with '!' are omitted. This is useful if you want to save whole folder except for particular subfolder(s).
# An example is inclued in default config below: Porteus will save whole /var folder except for /var/run and /var/tmp subfolders.
# Other example: "!/home/guest/.mozilla/firefox/c3pp43bg.default/Cache" will skip saving of Firefox caches from guest account.
# Thanks to Rava for suggesting implementation of '!' exceptions.
/bin
/etc
/home
/lib
/lib64
/opt
/root
/sbin
/usr
/var
!/var/run
!/var/tmp