Store changes in Root

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
heisen
Ronin
Ronin
Posts: 3
Joined: 16 Oct 2020, 01:04
Distribution: Porteus 5 rc2

Store changes in Root

Post#1 by heisen » 16 Oct 2020, 01:09

How do I store changes in / rather than in /mnt/live/memory/changes/ ?? :%) :%)

User avatar
Ed_P
Moderator
Moderator
Posts: 5690
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Store changes in Root

Post#2 by Ed_P » 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.
Ed

heisen
Ronin
Ronin
Posts: 3
Joined: 16 Oct 2020, 01:04
Distribution: Porteus 5 rc2

Store changes in Root

Post#3 by heisen » 16 Oct 2020, 16:44

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

User avatar
Ed_P
Moderator
Moderator
Posts: 5690
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Store changes in Root

Post#4 by Ed_P » 16 Oct 2020, 16:47

And /changes doesn't work for you?
Ed

heisen
Ronin
Ronin
Posts: 3
Joined: 16 Oct 2020, 01:04
Distribution: Porteus 5 rc2

Store changes in Root

Post#5 by heisen » 17 Oct 2020, 00:13

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? :%)

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2624
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Store changes in Root

Post#6 by ncmprhnsbl » 17 Oct 2020, 01:45

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.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply