Creating a 'save' file question

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

Creating a 'save' file question

#1 Post by DaveS »

Is it possible to create a 'save' file without actually going through the shutdown process?
Spup Frugal HD and USB
Root forever!

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#2 Post by trapster »

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

Code: Select all

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: Slacko
Currently using full install: DebianDog

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#3 Post by DaveS »

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!

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#4 Post by Béèm »

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).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

Post Reply