How Puppy save works (consider putting in Getting Started and System Requirements)

Ideas and discussion


Post Reply
User avatar
bigpup
Moderator
Posts: 6405
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 760 times
Been thanked: 1326 times

How Puppy save works (consider putting in Getting Started and System Requirements)

Post by bigpup »

How the save works.

The save contains any changes that you want to keep.
Settings, configurations, added software, etc......

It is loaded when Puppy Linux boots, so that all these changes are available to use, and you do not need to do them all over again.

The save is actually a Linux file system inside a file or folder.
The save is loaded (layered into the operating file system) when Puppy Linux boots.
It does not load into RAM.
But all the parts of the file system in it, become layered into the operating file system.
To the operating file system, all looks and operates as one complete file system.
When something in the save is accessed and used.
It is read and put into ram.

The save is read/writable at all times.
Write control depends on pupmode the Puppy Linux OS is operating in.
Pupmode is determined by detecting a save to use, device Puppy is installed on, command options that can be in the boot menu entries.

These are the ones used the most.

pupmode 5 -> uses a save ramdisk (a set aside section of RAM) as the save. Auto writes to it at any time something needs to be in the save.
This is the very first time you boot Puppy Linux and have not made a save to use.
On first shutdown if you choose to make a save, the stuff in the save ramdisk is written to the save file or folder.

pupmode 12 -> When a save is found to use. Writes are done as it is needed. Do something that needs to be put in the save and it gets written to the save, at the same time.
This is used when installed on a hard drive or a drive that how often writes are done, is no big issue.

pupmode 13 ->writes are auto made at a set time, when you click on the desktop save icon, or at shutdown.
Usually used on devices that number of writes you want to limit. (USB flash drives, etc....)
The save is loaded into the file system and used, if something in it, is needed. (only read from)
This Pupmode, for writes to the save, uses a save ramdisk, that is auto written to, any time something needs to be in the save.
Stuff in the save ramndisk only gets written to the actual save, when auto save, save icon, or shutdown process does it.
settings in Puppy Event Manager -> Save Session
Auto save can be set to any time period to do an auto save or set to 0 and do no auto save.
Ask to save at shutdown can be set, so you get asked to update the save. (only saves if you select save)
If not selected to ask, save will be auto updated at shutdown.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
wizard
Posts: 1651
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2203 times
Been thanked: 515 times

Re: How Puppy save works (consider putting in Getting Started and System Requirements)

Post by wizard »

@bigpup

Nice, if put in Getting Started and System Requirements it should be marked as an Advanced Topic.

Thanks
wizard

Big pile of OLD computers

User avatar
wizard
Posts: 1651
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2203 times
Been thanked: 515 times

Re: How Puppy save works (consider putting in Getting Started and System Requirements)

Post by wizard »

@bigpup

Here's a suggested edit for clarity:

This is an advanced topic.

How the save function works.

The save (file or folder) contains any changes that you want to keep. Settings, configurations, added software, etc......

It is loaded when Puppy Linux boots, so that all these changes are available to use, and you do not need to do them all over again.

The save is actually a Linux file system inside a file or folder. The save is loaded (layered into the operating file system) when Puppy Linux boots. It does not load into RAM, but all the parts of the file system in the save become layered into the operating file system. To the operating file system, it all looks and operates as one complete file system.

When something in the save is accessed and used, it is read and put into ram.

The save is read/writable at all times. Write control depends on which pupmode Puppy Linux OS is using. The pupmode is determined by detecting a save to use, device Puppy is installed on, and command options that can be in the boot menu entries.

These are the ones used the most:
pupmode 5 -> uses a save ramdisk (a temporary set aside section of RAM) as the save. Auto writes are made to it at any time something needs to be in the save. This mode runs the very first time you boot Puppy Linux and have not made a save file/folder to use. On first shutdown if you choose to make a save, the stuff in the save ramdisk is written to the save file or folder.

pupmode 12 -> during boot if a save is found to use, writes are done to it as needed. Do something that needs to be put in the save and it gets written to the save, at the same time. This is used when installed on a hard drive or a drive where writing often is no big issue.

pupmode 13 ->writes are made at a set time, when you click on the desktop save icon, or at shutdown. Usually used on devices to limit the number of writes. (USB flash drives, etc....). This pupmode also uses a save ramdisk, that is automatically written to, any time something needs to be in the save. Stuff in the save ramdisk only gets written to the actual save, when auto save, save icon, or shutdown process does it.

You can adjust the auto save frequency by using settings in Puppy Event Manager -> Save Session

Auto save can be set to any time period to do an auto save or set to 0 and do no auto save.
Ask to save at shutdown can be set, so you get asked to update the save (only saves if you select save). If not selected to ask, save will be auto updated at shutdown.

Big pile of OLD computers

User avatar
mikewalsh
Moderator
Posts: 5664
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 601 times
Been thanked: 1738 times

Re: How Puppy save works (consider putting in Getting Started and System Requirements)

Post by mikewalsh »

@wizard / @bigpup :-

Y'know, I'm curious.

How is it that we never hear about Pupmodes 1,2,3,4,6,7,8,9,10 or 11? I don't believe in all these years that I've ever heard a single mention.....

Or is this only something that Barry can in fact answer? :D

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
bigpup
Moderator
Posts: 6405
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 760 times
Been thanked: 1326 times

Re: How Puppy save works (consider putting in Getting Started and System Requirements)

Post by bigpup »

This explains all the pupmodes I have ever seen used in Puppy.
https://bkhome.org/archive/puppylinux/d ... works.html
2, 5, 12, 13, 77.

About halfway down the page starts info about pupmodes used.

Barry K is going to have to answer why the numbers are all over the place.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Post Reply

Return to “Forum Organization & Structure Council”