Page 1 of 1

Store changes in Root

Posted: 16 Oct 2020, 01:09
by heisen
How do I store changes in / rather than in /mnt/live/memory/changes/ ?? :%) :%)

Store changes in Root

Posted: 16 Oct 2020, 06:55
by Ed_P
Why? /mnt/live/memory/changes gets written to the /changes folder, or the porteussave.dat file in the /changes folder, on the system's drive when shutting down.

Store changes in Root

Posted: 16 Oct 2020, 16:44
by heisen
Ed_P wrote:
16 Oct 2020, 06:55
Why? /mnt/live/memory/changes gets written to the /changes folder, or the porteussave.dat file in the /changes folder, on the system's drive when shutting down.
Cause I've installed it in my hdd as the only os

Store changes in Root

Posted: 16 Oct 2020, 16:47
by Ed_P
And /changes doesn't work for you?

Store changes in Root

Posted: 17 Oct 2020, 00:13
by heisen
Ed_P wrote:
16 Oct 2020, 16:47
And /changes doesn't work for you?
It works but won't it take more storage than directly making the changes in root directory? :%)

Store changes in Root

Posted: 17 Oct 2020, 01:45
by ncmprhnsbl
heisen wrote:
16 Oct 2020, 16:44
Cause I've installed it in my hdd as the only os
and what does this installation look like? if it's the standard porteus "frugal installation" there'll be three directories(with subdirs): boot, porteus and EFI and a file: USB_INSTALLATION.txt
this constitutes the "real root", in the sense that it exists on the hard drive even when powered off.
when you boot up, the root filesystem you see(/) exists only in RAM while the system is running, and any changes you make to it are reflected in /mnt/live/memory/changes(and in turn, then stored in /mnt/<yourHDD>/porteus/changes(if it's enabled))
so in this context(frugal installation facilitated by an AUFS enabled kernel) "storing changes in /" is meaningless since you can't store anything in a place that doesn't exist after the system is shutdown..
heisen wrote:
17 Oct 2020, 00:13
won't it take more storage than directly making the changes in root directory?
actually no, because the frugal installation, with it's xz compressed modules takes much less space than a conventional installation.