Savefile Creator
Savefile Creator
I have noticed that there is no easy way to simply create a savefile on most pups and some dogs. Yes, on shutdown the option is there if no savefile is in use, but without in depth knowledge it would not be easy for a novice to otherwise invoke the savefile creation scripts.
Also, those scripts are not as simple to use as this one.
The script does not create directories, or mount drives, nor delete or unmount. It only checks and advises, then when all is okay it creates the specified savefile.
edit: remembers settings
edit2: fixed mounted drives not showing.
EDIT3: update, resize savefile or delete it.
edit4: handles /mnt/home link. resize swapfile. pre-job check specific to savefile or swapfile.
mksavefile
Also, those scripts are not as simple to use as this one.
The script does not create directories, or mount drives, nor delete or unmount. It only checks and advises, then when all is okay it creates the specified savefile.
edit: remembers settings
edit2: fixed mounted drives not showing.
EDIT3: update, resize savefile or delete it.
edit4: handles /mnt/home link. resize swapfile. pre-job check specific to savefile or swapfile.
mksavefile
- Attachments
-
- mksavefile.gz
- Remove the .gz from name of file to use it.
Had to add .gz to name to be able to attach it to forum.
Should be executable already. but if not right click and select permissions and click execute box as required. - (8.12 KiB) Downloaded 105 times
-
- xscreenshot-20191011T195730.png
- (8.64 KiB) Downloaded 238 times
-
- 2019-09-26-163810_234x78_scrot.png
- (6.19 KiB) Downloaded 486 times
-
- 2019-09-26-163758_200x51_scrot.png
- (3.72 KiB) Downloaded 487 times
-
- 2019-09-26-163749_442x192_scrot.png
- (19.17 KiB) Downloaded 486 times
-
- 2019-09-26-163537_278x167_scrot.png
- (10.67 KiB) Downloaded 490 times
-
- 2019-09-26-163300_520x417_scrot.png
- (39.49 KiB) Downloaded 494 times
Last edited by stemsee on Wed 20 Nov 2019, 13:24, edited 11 times in total.
This is small enough you could make a pet package out of it.
The max size limit for the forum is 256KB.
If you need help making a pet ask.
It is not that hard.
This is simple with only one file to deal with.
The pet package:
The file and where to put it.
A menu entry to run it.
This is a program to make a pet
Petrmaker
http://www.murga-linux.com/puppy/viewtopic.php?t=40457
Not hard to use.
It does all the hard work.
You just give it needed information.
The max size limit for the forum is 256KB.
If you need help making a pet ask.
It is not that hard.
This is simple with only one file to deal with.
The pet package:
The file and where to put it.
A menu entry to run it.
This is a program to make a pet
Petrmaker
http://www.murga-linux.com/puppy/viewtopic.php?t=40457
Not hard to use.
It does all the hard work.
You just give it needed information.
Last edited by bigpup on Fri 27 Sep 2019, 13:03, edited 2 times in total.
It would be better if you made the pet.
You could keep the first post updated with any new updates.
See Petmaker program I posted about.
You could keep the first post updated with any new updates.
See Petmaker program I posted about.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Stemsee,
Various criticisms (pardon, thoughts!):
-- you did NOT mention the "gz" ending in the file name of your attached script above
is fake!
Test:
-- why not automatically detect the directory where the Puppy sfs is through file
/etc/rc.d/PUPSTATE, the PUPSFS variable? The pupsave should be in that directory for
best results, and it would save the user much typing of ppaatthhss...
-- no YAD button to bail out? The Cancel button does not exit cleanly.
-- euh, 256 is half of 512, not 252. (Please see attached).
-- where does this "cat" come from when launching from console? (Idem)
-- what situation is a "64" bytesize used in?
IHTH.
Various criticisms (pardon, thoughts!):
-- you did NOT mention the "gz" ending in the file name of your attached script above
is fake!
Test:
-- why not automatically detect the directory where the Puppy sfs is through file
/etc/rc.d/PUPSTATE, the PUPSFS variable? The pupsave should be in that directory for
best results, and it would save the user much typing of ppaatthhss...
-- no YAD button to bail out? The Cancel button does not exit cleanly.
-- euh, 256 is half of 512, not 252. (Please see attached).
-- where does this "cat" come from when launching from console? (Idem)
-- what situation is a "64" bytesize used in?
IHTH.
- Attachments
-
- mkpupsave-Stemsee.jpg
- (191.79 KiB) Downloaded 483 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Truemusher0 wrote:Stemsee,
Various criticisms (pardon, thoughts!):
-- you did NOT mention the "gz" ending in the file name of your attached script above
is fake!
Most dogs/fatdogs don't have /etc/rc.d/PUPSTATE, no need to type just select presets! After first use, settings are retained.Test:
-- why not automatically detect the directory where the Puppy sfs is through file
/etc/rc.d/PUPSTATE, the PUPSFS variable? The pupsave should be in that directory for
best results, and it would save the user much typing of ppaatthhss...
it does now!-- no YAD button to bail out? The Cancel button does not exit cleanly.
252 is the exit code when yad window is closed using window 'x' ... fixed-- euh, 256 is half of 512, not 252. (Please see attached).
now tests for /tmp/missdeps first-- where does this "cat" come from when launching from console? (Idem)
not sure.....-- what situation is a "64" bytesize used in?
Thanks for your testing, the script is much improved because of your report.
Me, you, and maybe musher0 know what that is saying, but for others, need to really tell them!Description fake .gz
Remove the .gz from name of file to use it.
Had to add .gz to name to be able to attach it to forum.
Also need to tell them to give it exec permissions and maybe how to do that.
I do not think it needs .sh in the name of the script file.
I removed .gz and .sh from name.
Gave it exec permissions.
It works.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
savefile creator updated
Now has option to resize (bigger only), or delete savefile if found. If deleted continues to create the new one.
Now has option to resize (bigger only), or delete savefile if found. If deleted continues to create the new one.
- Attachments
-
- mksavefile.gz
- fake .gz rename file to mksavefile, and save to /usr/sbin, make executable ... chmod 755 /usr/sbin/mksavefile
- (5.66 KiB) Downloaded 100 times
-
- xscreenshot-20191011T195730.png
- (8.64 KiB) Downloaded 330 times
Here is an update with real progress indicators during savefile creation and resizing.
- Attachments
-
- xscreenshot-20191018T220707.png
- (1.93 KiB) Downloaded 285 times
-
- mksavefile.gz
- (6.43 KiB) Downloaded 111 times
mksavefile script now assists in creating/deleting/resizing swap files, with mkswap, swapon, swapoff commands.
Also reuse savefile, mount and empty it.
Also reuse savefile, mount and empty it.
- Attachments
-
- xscreenshot-20191024T085010.png
- (8.43 KiB) Downloaded 244 times
-
- xscreenshot-20191024T082152.png
- (15.71 KiB) Downloaded 258 times
-
- mksavefile.gz
- (7.54 KiB) Downloaded 108 times
Some cosmetic improvements ... namely handles /mnt/home link.
- Attachments
-
- mksavefile.gz
- (8.12 KiB) Downloaded 104 times
Will you please put this information in the first post of this topic.
This is a nice program and I only say this to help you.
I downloaded the latest mkesavefile and had to give it exec permissions to get it to run.
This is a nice program and I only say this to help you.
I think you can give it exec permissions before you post it.Remove the .gz from name of file to use it.
Had to add .gz to name to be able to attach it to forum.
Also need to tell them to give it exec permissions and maybe how to do that.
I downloaded the latest mkesavefile and had to give it exec permissions to get it to run.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)