PupsaveConfig-2.2.5

A home for all kinds of Puppy related projects
Message
Author
User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

I am comming

#46 Post by shinobar »

Thanks don and to all.
I have to appologize i couldn't respond. I am busy now with refining the grub4dosconfig.
You know I am working on regarding easy setup of Puppy in 7 area.
  1. Boot up menu
  2. Direct desktop
  3. Country setup
  4. Frugal installer for easy installation
  5. Grub4Dosconfig for easy setup the boot loader
  6. Winfonts for providing swap space for Windows dualboot PC.
  7. Pupsaveconfig
Former 6 is getting success. And the last is this pupsaveconfig.
I am comming back after a while.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

great work

#47 Post by emil »

Shinobar, I just wanted to give a big *thumbs up* to you, great work!
These are all very important little features!

I think the save file creation should get a major improvement, maybe it is possible to stay in the X system while doing it. Having the text menus looks so very dangerous and outfashioned :-D. What were the arguments to create it at the end of the first session and not right in the beginning, e.g same time as the country wizard?

kind regards
emil

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: great work

#48 Post by shinobar »

emil wrote:What were the arguments to create it at the end of the first session and not right in the beginning, e.g same time as the country wizard?
Exactly we are aiming that.

BTW, i'd like to congratulate your new SageLive!
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

pupsaveconfig-1.6.1 a mock up sample was mistake

#49 Post by shinobar »

Hi all, i am back!

Attached at the top post pupsaveconfig-1.6.1.pet, still a mock up sample.
It does not yet reflect our discussion here on the password.
It is only for indicating that i am back to this project.
It has a help file at '/usr/share/doc/help/C/pupsaveconfig.txt', but you need pman, recent Puppy has, installed on your puppy.

To see the mock up, on the virtual terminal, type:

Code: Select all

pupsaveconfig2 --debug
EDIT: was mistake. Please wait maybe more one week before next test release.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

pupsaveconfig-1.9.2

#50 Post by shinobar »

Working model is now available!
Download pupsaveconfig-1.9.2.pet from here.
Install on any Puppy-4.x/5.x running with RAM only mode.
Need you test and help towards the version 2.

Find 'PupSaveConfig' menu under 'Utility'.
Or from terminal, type 'pupsaveconfig' (not 'pupsaveconfig2').
Or automatically launches at shutdown.
(Though we are intend to launch it automatically at the first boot up.)

Image

pupsaveconfig-1.9.2 adds the features:
  • GUI for configuring the savefile
  • Offer copying the main sfs to HDD at Live CD boot
  • Offer swap file for small RAM PC
  • Choice saving session or not for the frugal install on flash(PUPMODE=13)... You need to select '0' for periodical save interval.
  • Remove CD at poweroff. But does not at reboot.
Memorandum:
  • Warning on password and keyboard layout issue, but no check with input phrase
  • Does not support 'save to floppy' (does it work in recent Puppy?)
  • Does not support 'Save to entire partition' (It is buggy and not recommended)
  • Does not treat PSAVEMARK (Do you need?)
  • Swap file is taken on internal HDD regardless it can be flash device(SSD) nor external (real) HDD.
Last edited by shinobar on Wed 15 Dec 2010, 11:34, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

Super

#51 Post by emil »

*BIG THUMBS UP*
I go for a test ...

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Save session or not

#52 Post by shinobar »

Tanks, emil.

BTW, to make the choice save session or no, the Puppy need frugal installed on flash(PUPMODE=13).
You need to choose the periodic saving to '0'.

Image

PS: As for saving session back to the Live CD, you are always asked to save the session or not at the shutdown.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#53 Post by jemimah »

Looking great so far on Puppeee.

I'm wondering, is there a reason you didn't include ext4 support?

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

ext4 support

#54 Post by shinobar »

jemimah wrote: is there a reason you didn't include ext4 support?
I don't know why but Barry doesn't.
See the comment in rc.shutdown.

Code: Select all

#100401 choose ext2/3/4 for pupsave file. 100410 offer ext2/3 only.
You can try it with manually typing 'ext4' in the 'File type' combobox.
Last edited by shinobar on Wed 15 Dec 2010, 13:05, edited 2 times in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#55 Post by jemimah »

Weird. I'll have to add it back in from an older copy.

Thanks for making this.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#56 Post by sc0ttman »

just a quick question...

are you planning to allow users to choose the following settings, before a savefile is created:

1. choose to enable the 'save session or not' dialog at shutdown, after a save file has been created..

2. choose to make IDE frugal installs not save in real-time..
(make IDE installs behave like USB, only [ask to] save at shutdown...)

I will almost certainly be using this, even if these features are not planned at any time...

Good work once again!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

'save session or not' dialog

#57 Post by shinobar »

sc0ttman wrote:1. choose to enable the 'save session or not' dialog at shutdown, after a save file has been created..

2. choose to make IDE frugal installs not save in real-time..
(make IDE installs behave like USB, only [ask to] save at shutdown...)
1. pupsaveconfig-1.9.2 already supports. Choose the periodic saving to '0'.
2. pupsaveconfig will not. Rewrite the boot option 'pmedia=atahd' to 'pmedia=ataflash'.
Last edited by shinobar on Fri 17 Dec 2010, 00:25, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

pupsaveconfig-1.9.3

#58 Post by shinobar »

The pupsaveconfig-1.9.2 yesterday was failed to save on unmounted partition. (Thanks to bon, Japanese Forum)

Fixed at pupsaveconfig-1.9.3.pet (16 Dec 2010) the test release available from here.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

ext4 support

#59 Post by shinobar »

shinobar wrote:
jemimah wrote: is there a reason you didn't include ext4 support?
shinobar wrote:You can try it with manually typing 'ext4' in the 'File type' combobox.
Tested, and faild :lol:

Now, ext4 is supported with pupsaveconfig-1.9.4.pet available here.
Last edited by shinobar on Thu 16 Dec 2010, 23:00, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#60 Post by jemimah »

Awesome! Thanks. :)

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

savefile config

#61 Post by emil »

Hello shinobar,

thanks lots for the savefileconfig implementation. I tested it yesterday with a frugal install and it worked flawless for me. I just want to share 2 thoughts that I have. Those are just ideas, no critics and I would like to know what you and maybe others think.

Firstly, would it be an idea to make a simpler "standard" interface and give the Option to call the detailed Menu as "expert" or "advanced".
The "standard" would just offer to create a standard savefile in the same directory of the lupy-511.sfs (I'm not sure about to handle Live CD Mode).
I think new users to puppy linux could be a bit overwhelmed with options and puppy specific terminology.

The second idea is about the Windows installation on NTFS. I had the windows installer discussed a bit on the Sage forum. The myth that Linux can't handle the NTFS filesystem properly seems persistent. Would it be possible that the savefileconfig recognises a premade "blank" savefile (lets say with name blank_savefile.img" and if it finds such a file offers the possibility to use it (rename and mke2fs ...). Then it would be possible that the windows installer creates all puppy files, sort of a "paranoid" mode.

thanks you again,
emil

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#62 Post by jemimah »

Shinobar,

I've had a request for an option to automatically make a backup of the save file on shutdown (or startup, but I think shutdown is easier to implement).

Are you interested in coding this? Or will you merge my patches if I do it? I want to avoid having to patch the shutdown script every time you release an update. :)

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

automatically make a backup of the save file

#63 Post by shinobar »

jemimah wrote:I've had a request for an option to automatically make a backup of the save file on shutdown (or startup, but I think shutdown is easier to implement).

Are you interested in coding this? Or will you merge my patches if I do it? I want to avoid having to patch the shutdown script every time you release an update. :)
Fascinating idea.
We can find some trials on this forum, though i have never tried them yet.
I guess it is not so easy and needs another project.
If you or someone do some improvement on this theme i am willing to implement the code built in.

Some thought:
It may be implemented in /usr/sbin/snapmergepuppy, not in rc.shutdown.
EDIT: snapmergepuppy is effective only for PUPMODE=13.
The init or rc.shutdown is better place to support both PUPMODE=12/13 as jemimah says.
I guess the init at the boot up is good timing.

Some topics:
Last edited by shinobar on Mon 20 Dec 2010, 05:56, edited 2 times in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#64 Post by jemimah »

It needs to be in either the init script or the shutdown script because the save file must be unmounted before copying.

It should be as simple as "cp pupsave.2fs pupsave.2fs.bak" as long as you do it after the unmount. Most of the work is adding the configuration options.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

automatic backup session

#65 Post by shinobar »

jemimah wrote:Most of the work is adding the configuration options.
Right, jemimah.
Where to save, how much space is allowed, how many old to keep, what frequency to be saved, ziped or unziped, we also need how to recover... etc..

I have no experience using similar system on Windows and do not know what options allowed on Windows... :?

Well, will you jemimah or someone start new topic on the automatic backup/recover session?
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

Post Reply