Thought it might be useful.
wizard
Moderator: Forum moderators
Thought it might be useful.
wizard
Big pile of OLD computers
I think so, though i don't use savefile. But i can add code for pup_rw to conkyrc like this:
Code: Select all
${color0}pup_rw ${fs_used /initrd/pup_rw}/${fs_size /initrd/pup_rw}
${fs_used_perc /initrd/pup_rw}%${alignr}${color}${fs_bar 10,189 /initrd/pup_rw}
So i guess when booted with a savefile in PUPMODE=13 you should be able to add /initrd/pup_ro1 to conkyrc.
Not sure what layer it is in PUPMODE=12...
Silly me...
In PUPMODE=12 you load a savefolder with no sizelimit but the partition your savefolder is stored at...
For a savefile in PUPMODE=13 /initrd/pup_ro1 should be the right place to look for.
EDIT:
For a savefile in PUPMODE=12 /initrd/pup_rw is the right place to look for.
If you load a savefolder it has no sizelimit but the partition your save is stored at.
The mountpoint for this partition will then be /initrd/mnt/dev_save and /initrd/pup_ro1
will be a symlink to the savefolder in psubdir when in PUPMODE=13
Hello @HerrBert
This seems like a very plausible offering to the Conky seen in FP64 and others. Seemingly covers for both Save-folders (that most people will use for its obvious benefit) as well as save-files.
I wonder if you feel as I do; namely that this additional Conky field offers insight into the space available-used for Session-Saves, thus a name that would resonate with all users would be "Save- space" or "Save-session" or "Saves/Changes" or something a little more insightful than pup_rw.
Is this reasonable for most users "at a glance"?
Clarity wrote: ↑Tue Dec 28, 2021 7:27 amHello @HerrBert
This seems like a very plausible offering to the Conky seen in FP64 and others. Seemingly covers for both Save-folders (that most people will use for its obvious benefit) as well as save-files.
I wonder if you feel as I do; namely that this additional Conky field offers insight into the space available-used for Session-Saves, thus a name that would resonate with all users would be "Save- space" or "Save-session" or "Saves/Changes" or something a little more insightful than pup_rw.
Is this reasonable for most users "at a glance"?
The code i posted was just to answer wizard's question, if conky can show savefile usage.
Depending on where a user installs his Puppy, using savefolder is not an option.
On fat formatted usb drives or ntfs windows partitions you have no choice.
It also depends on the PUPMODE booted to, respectively which pmedia
parameter is given at boot.
That's 2^2 possible options to configure this one entry.
The name is optional anyway.
In German a meaningful name would be "persönliche Speicherdatei" <=> "personal storage" but it's to long.
Thought I'd give you some feedback on using your code.
Installed to 5gb USB flash ext3 partition. Readings taken from freememapplet in the JWM taskbar and from conky after fresh boot.
save folder
freememapplet
4.7gb personal storage
3.9gb free space
conky
623mb/3.83gb
save file 512mb ext3
freememapplet
487mb personal storage
386mb free space
conky
623mb/3.83gb
Seems most accurate for the save folder. Think this confirms your message above.
Thanks again
wizard
Big pile of OLD computers