LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (https://www.linuxquestions.org/questions/puppy-71/)
-   -   option at shutdown NOT use savefile ? (https://www.linuxquestions.org/questions/puppy-71/option-at-shutdown-not-use-savefile-785092/)

stu7 01-27-2010 10:23 AM

option at shutdown NOT use savefile ?
 
I have been trying out various of the Puppy and Puppy derivatives...
most utilize the same base, so this question will likely apply
to any.

Puppy offers the savefile option... this will save all changes
during the most recent session... I use it to save settings,
and it works nicely.
Here is the problem... most of the time, I just want to exit,
keep the save file I have, and not worry about the most recent
session... I save any important work to a harddrive.

So_ what can I do to exit WITHOUT using the savefile routine ?
Is there such an option ? If not, it would useful, at least
in the common instance I outlined.

Hope somebody knows this one... nobody on the PuppyLinux channel
could offer a way to do.

thanks

puppyite 01-28-2010 08:34 AM

Read section: Upgrading Puppy Linux Save File Install

stu7 01-29-2010 11:02 AM

Quote:

Originally Posted by puppyite (Post 3843638)

yes thank you. Unfortunately, while that article does discuss
puppy save files, it does not describe how to avoid the
auto-savefile procedure at logout. (the article you recommend
is more how to replace an existing save file, with other hints).

puppyite 01-29-2010 12:51 PM

If you are experimenting with some version of Puppy for which you do not have a save file (and you boot with puppy pfix=ram) then you can simply turn off the computer and thus avoid the save file question. I haven’t tried this myself but I see no reason why it wouldn’t work.

If however you are using a save file (not experimenting with different flavors of Puppy) I fail to see why you have a problem. When I shutdown a message briefly flashes on screen telling me that the session was saved, but no further action on my part is required.

stu7 01-30-2010 03:26 PM

Quote:

Originally Posted by puppyite (Post 3845189)
If you are experimenting with some version of Puppy for which you do not have a save file (and you boot with puppy pfix=ram) then you can simply turn off the computer and thus avoid the save file question. I haven’t tried this myself but I see no reason why it wouldn’t work.

If however you are using a save file (not experimenting with different flavors of Puppy) I fail to see why you have a problem. When I shutdown a message briefly flashes on screen telling me that the session was saved, but no further action on my part is required.

I do appreciate your replying. Let me explain a little more
what the problem is Im having with puppy / shutdowns / and
the savefile routine.

Its true, if I simply turn the computer off, there is no shut
down or log off... this is not recommended, but it doesnt seem
to hurt anything.
Your comment about "a brief message flashing across the screen"
at shutdown time is really what prompted me to ask about this
here... on my computer, the savefile processing requires more
like three or four minutes... really... if Im closing shop for
the night, this doesnt mean anything... but I simply want to
reboot, this is really a burden.

I'll end by mentioning that I spent several days on the Puppy
channel, asking some of the most experienced puppy users, and
virtually none of them knew or could suggest a way to avoid
this lengthly savefile operation at shutdown.

Thanks again for your replies. I do like puppy a lot and
hope it is working for you too !

Wu2wei 01-31-2010 04:25 AM

Here are a couple of threads on nearby subjects. You might find some hints for your problem:

http://www.murga-linux.com/puppy/vie...491573ad0087ad
http://www.murga-linux.com/puppy/vie...da80201#311177

It seems to me that your pupsave file is way too big when you need 3-4 minutes on shutdown, even on an old machine.
One way to circumvent the problem is to save the current pupsave file to another location, start Puppy with the boot option puppy pfix=ram and generate a new and smaller pupsave file on shutdown. You can then switch between the larger and the smaller pupsave file on the boot partition just by copying the one or the other to the active boot partition. Not something you want to do with every boot. But if it is only occasionally, why not?
Keep in mind, the pupsave file really doesn't need to be bigger than 256 or 512 MB if all you do is surfing, emailing, writing. Files can be saved to other partitions and the larger programs come as sfs files for a frugal install.
So clean out your installation and make the pupsave file much smaller. That would settle the issue, IMHO.

puppyite 01-31-2010 08:35 AM

Quote:

Originally Posted by stu7 (Post 3846482)
Let me explain a little more…

From my site: “The speed with which you can expect to get a resolution to your problem is directly proportional to the effort you take in making your needs understood.”

Quote:

…what the problem is Im having with puppy / shutdowns / and
the savefile routine.

Your comment about "a brief message flashing across the screen"
at shutdown time is really what prompted me to ask about this
here...
That message is visible for 5 seconds

Quote:

…on my computer, the savefile processing requires more
like three or four minutes... really... if Im closing shop for
the night, this doesnt mean anything... but I simply want to
reboot, this is really a burden.

I'll end by mentioning that I spent several days on the Puppy
channel, asking some of the most experienced puppy users, and
virtually none of them knew or could suggest a way to avoid
this lengthly savefile operation at shutdown.
That’s because you didn’t fully explain the circumstances.

Review sections concerned with backup in this how to: Upgrading Puppy Linux

After backup delete your current save file.

How to enlarge save file if need ever arises in future: Resize or View Save File Size

Warning: Problems have been reported with save files larger than 1GB.

Wu2wei 02-14-2010 06:53 AM

stu7

I thought of another way of achieving your goal.

>>> Create TWO pupsave files.

Say you are running 431 and have a large save file named pupsave-431.2fs.

Now create a much smaller save file and name it e.g. pupsave-small.2fs.

You achieve this by booting your Puppy 431 (or whichever version you have) with the boot option puppy pfix=ram. On shutdown you save a new pupsave file of say 128 MB with the name pupsave-small.2fs to the exact same location as your pupsave-431.2fs.

Upon your next boot Puppy will let you choose between the 2 pupsave files. This boot prompt is a small disadvantage. On the other hand you can now speed up your shutdown considerably.

But generally: The pupsave file of a frugal install does not need to be big. Any data can be stored on some other partition, large programs come as sfs files; and for the few small additional programs 512MB should be more than enough.

stu7 02-17-2010 05:33 AM

Quote:

Originally Posted by Wu2wei (Post 3863265)
stu7

I thought of another way of achieving your goal.

>>> Create TWO pupsave files.

Say you are running 431 and have a large save file named pupsave-431.2fs.

Now create a much smaller save file and name it e.g. pupsave-small.2fs.

You achieve this by booting your Puppy 431 (or whichever version you have) with the boot option puppy pfix=ram. On shutdown you save a new pupsave file of say 128 MB with the name pupsave-small.2fs to the exact same location as your pupsave-431.2fs.

Upon your next boot Puppy will let you choose between the 2 pupsave files. This boot prompt is a small disadvantage. On the other hand you can now speed up your shutdown considerably.

But generally: The pupsave file of a frugal install does not need to be big. Any data can be stored on some other partition, large programs come as sfs files; and for the few small additional programs 512MB should be more than enough.

something like that would work. My newest puppy install had
a 256mb savefile, which shutdown in about 20 seconds... so
youre absolutely right on that.

Thanks for your continued interest.

puppyite 02-17-2010 12:17 PM

I can think of no reason to run a small save file unless free drive space is an issue. I use a 1GB save file on all my computers with no problem. Shudown time on my laptops is blazingly fast as are my desktops.

Not all pet files (add-on software) are small. People who want to add software may want to make some allowances for future needs. If it becomes necessary though the save file can be resized.


All times are GMT -5. The time now is 07:27 PM.