Save2Flash --- Save Ram via SnapMergePuppy

Filemanagers, partitioning tools, etc.
Post Reply
Message
Author
User avatar
glene77is
Posts: 196
Joined: Tue 17 Aug 2010, 22:09
Location: Memphis, TN, USA
Contact:

Save2Flash --- Save Ram via SnapMergePuppy

#1 Post by glene77is »

...
...
date: 200624
...
...
... BackUp Utility "Save-2-Flash" for Puppy Linux Frugal Installs.
... 21 previous downloads
... Added improved code and less splash.
... Each of the three auto-runs are listed via terminal display,
... in order to show the comparative times.
...
#############################################
## "SMP" = 'snapmergepuppy'
##
## We have noticed that the original 'old' SMP appeared to 'drop'
## some system changes ;
## ie, the changes did not appear in the saveDATA on reboot.
## We initiated the practice of always running 'save2flash' several times,
## in order to flush the RAM data to the saveDATA.
##
#############################################


## (1) While 'enhancing' the '/usr/sbin/save2flash' script, adding 'splash' ,
## We introduced several repetitions of the SMP block.
to control an observed error .

## We retained all the original PeeBee code for the UpupBB+21 OS.
## (1) a Pre_Test
## (2) [ nice -n 19 snapmergepuppy /initrd/pup_ro1 /initrd/pup_rw ]
##
###########################################

##
### History:
## While using the Geany "Execute" Terminal mode
## we observed 'non-fatal' error messages
##

##
## Original 'old' Save2Flash with SnapMergePuppy
## generates 'non-fatal' error messages,
## associated with line # 169, and # 171, "unary operator expected".
##
## First run may have 25 messages and use 15 seconds.
## Second run may have 5 messages and use 3 seconds.
## Third run may have 1 messages and use 2 seconds.
##
## We believe this involves system time requirements
## for the OS to complete system tasks, before SMP runs.
##
##
### Development:
## We tested PeeBee current Save2Flash '/usr/sbin/save2flash' ,
## which used the 'nice' SMP block [ nice -n 19 snapmergepuppy ]
##

##
## We observed the same 'problem' with dropping some RAM data.
## and issuing 'non-fatal error messages'.
##
## We believe this involves system time requirements
## for the OS to complete system tasks, before SMP runs.
## We managed this problem with the same repetition method.
##
##
## Results:
## We observed no further occurrences of the error messages.
##

#
#############################################

#############################################
#
# Developed using Geany,
# with option "Execute" for trace in "BASH Terminal" for debug.
# many of our "echo" lines will show trace in the terminal screen.
#
# Using Geany with option "Execute"
# will allow good debugging in "BASH Terminal"
#
#############################################


Our Design Philosphy is: .
(1) simpler coding,
(2) readable coding,
(3) modifiable coding.

Our script has been tested successfuly
on our running "Official" Puppy Frugal Systems :
In Barry Kauler's blog,https://www.bkhome.org/
he shows the merits of Frugal Installs.
### 32 bit systems ###
* UpupBB-19.03 +21.

Make certain your file permissions, file type and file properties
are properly set to "execute". We have found it easy to 'loose'
some permissions / type / properties via copy/zip.

...
Our career projects , in radio and electronic design
are sampled / published at www.GeoCities.WS/glenE77is/
and are published / reviewed in Europe on ResearchGate.net,
and peer reviewed by Barrie Gilbert, Analog Devices., Inc. .
..
Attachments
rc.z_S2F.sh-200624-0700.zip
Save2Flash.sh executable script .zip.
(5.31 KiB) Downloaded 115 times
Puppy Linux is more fun than a barrel of M$ monkeys :P
www.geocities.WS/glene77is
glene77is --- {^,^} --- electricity is shocking, Memphis, TN, USA.

Post Reply