Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 30 Oct 2014, 11:11
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Creating a 'save' file question
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sat 25 Sep 2010, 13:23    Post_subject:  Creating a 'save' file question  

Is it possible to create a 'save' file without actually going through the shutdown process?
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send_private_message 
trapster


Joined: 28 Nov 2005
Posts: 2012
Location: Maine, USA

PostPosted: Sat 25 Sep 2010, 15:00    Post_subject:  

Assuming you want the pupsave on hda1 and that hda1 is mounted

Code:
dd if=/dev/zero of=/mnt/hda1/pup_save.2fs bs=1k count=50000
mke2fs -q -m 0 -F /mnt/hda1/pup_save.2fs


this makes you an empty 50MB pupsave which should be used automatically on your next boot

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send_private_message Visit_website 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Tue 28 Sep 2010, 14:37    Post_subject:  

Thanks Trapster. Not quite what I was after. I was wondering if a save file could be created and mounted for use 'on the fly', but I guess not as setting up the file system the first time has to be done during a boot process.
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send_private_message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Wed 29 Sep 2010, 18:23    Post_subject:  

You could do as trapster says and then copy the contents of pup_rw to it.
This answers 'how to create a save file'
But mounting on the fly is something else.
So you would boot with a pfix=ram state and once booted mount that save file?
It should be mounted on /initrd/pup_rw then, if ever possible.

_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0431s ][ Queries: 12 (0.0042s) ][ GZIP on ]