The time now is Sun 22 Apr 2018, 10:54
All times are UTC - 4 |
Page 2 of 2 [19 Posts] |
Goto page: Previous 1, 2 |
Author |
Message |
Dougal

Joined: 19 Oct 2005 Posts: 2504 Location: Hell more grotesque than any medieval woodcut
|
Posted: Wed 23 Mar 2011, 17:32 Post subject:
Re: Session is 'always' saved -not good |
|
nooby wrote: | Oh, I hope you can explain what it does, I feel too dense just now to figure it out. |
When X is started, /etc/.XLOADED is created, so if X wasn't exited properly (like the classic "fsckme" flag: on a proper shutdown it will be deleted ; if it's not deleted you know the system has crashed).
If the periodic saving is used (or if the user manually saves with snapmergepuppy), then the saving happens while X is running, thus .XLOADED is also saved to the save file (mounted on /initrd/pup_ro1), so you need to delete it or X won't automatically start on next boot.
The same happens if you backup your save file.
Another simple way to get around this is to just add to /etc/rc.d/rc.local:
_________________ What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Wed 23 Mar 2011, 17:43 Post subject:
|
|
Thanks I understand it better now. One need to know what causes saves to happen to be able to jump in and somehow cheat the system to not do something one don't want it to without having to rebuilt the whole thing from scratch. a workaround a kind of soft patch by knowing what it looks for one can step in and prevent things.
Very good thanks.
_________________ I use Google Search on Puppy Forum
not an ideal solution though
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2504 Location: Hell more grotesque than any medieval woodcut
|
Posted: Thu 24 Mar 2011, 11:39 Post subject:
|
|
nooby wrote: | One need to know what causes saves to happen to be able to jump in and somehow cheat the system to not do something one don't want it to without having to rebuilt the whole thing from scratch. |
Note that if you back up your pup_save while running, you'll also want to first run "sync" in a terminal, to make sure all files are actually written to it.
_________________ What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
|
Back to top
|
|
 |
sitdown
Joined: 03 Jan 2015 Posts: 13
|
Posted: Sat 03 Jan 2015, 15:06 Post subject:
|
|
Disregard this!! I dont know how this was posted on the wrong thread..
I was supposed to post on this thread: http://www.murga-linux.com/puppy/viewtopic.php?t=51466&start=15
I know it is an old thread, but i can not see any other forumthreads that do apply to my problem.
I tried first the solution for getting a option to save or not saving the session. But then did not work after several trials, i tried to disable all lines corresponding to saving the session. As it is now:
Code: | #the above are in unionfs at /.
#dialog --yesno "Save this session?" 0 0 >/dev/console
#if [ $? -eq 0 ]; then
#echo "Saving session to $SAVEFILE (${SAVEPART})..." >/dev/console
#/usr/sbin/snapmergepuppy /initrd/pup_ro1 /initrd/pup_rw
#fi
;;
# Følgende 2 linjer er default setting for lagring av session, fjern linjer
# over til første(#):
# :/usr/sbin/snapmergepuppy /initrd/pup_ro1 /initrd/pup_rw
# ;;
7) #PDEV1 and PUPSFS.
echo "$(eval_gettext "Saving session to \${PDEV1}...")" >/dev/console |
So does puppy linux still use this config file or is it something i do wrongly?
|
Back to top
|
|
 |
|
Page 2 of 2 [19 Posts] |
Goto page: Previous 1, 2 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
[ Time: 0.0331s ][ Queries: 12 (0.0062s) ][ GZIP on ] |