The time now is Fri 24 May 2013, 02:17
All times are UTC - 4 |
|
Page 2 of 2 [18 Posts] |
Goto page: Previous 1, 2 |
| Author |
Message |
Dougal

Joined: 19 Oct 2005 Posts: 2505 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: 9389 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'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2505 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
|
|
 |
|
|
Page 2 of 2 [18 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.0422s ][ Queries: 12 (0.0080s) ][ GZIP on ] |