Page 1 of 1

Is there a system variable for the pup savefile?

Posted: Wed Apr 05, 2023 1:42 am
by mow9902

I'm using Fossapup64 CE (F96_3) frugal install.

Is there a system variable somewhere which echos the name of the savefile in use?

Thanks


Re: Is there a system variable for the pup savefile?

Posted: Wed Apr 05, 2023 11:21 am
by Burunduk

On Fossapup64-9.5, this information is in /etc/rc.d/PUPSTATE

In a script it could be:

Code: Select all

. /etc/rc.d/PUPSTATE

echo $PUPSAVE 
echo ${PUPSAVE##*/}

stat "/initrd/mnt/dev_save${PUPSAVE##*,}"

Re: Is there a system variable for the pup savefile?

Posted: Wed Apr 05, 2023 11:27 am
by amethyst

You can check /etc/DISTRO_SPECS for names.


Re: Is there a system variable for the pup savefile?

Posted: Thu Apr 06, 2023 9:28 pm
by mikeslr

You can also note what's been used when any Puppy boots. And all recent Puppys have Menu>System>Pup-SysInfo. Opened, its Sys Specs >Profiles >Complete will identify the name of the SaveFile/Folder being used in the Distro State paragraph.