Page 1 of 1

2fs files getting fat too fast

Posted: Tue 08 Dec 2009, 07:17
by jeditalian
does puppy really need to backup the RAM to the 2fs file? puppy keeps that in the save file, but it seems to also be storing a lot of useless stuff, like my RAM. why would i want my ram put into hard storage? isnt ram just mean to be a temporary storage, and whatever is on it is meant to be thrown away, not saved forever. is there a way to clean up your 2fs file, if it contains an ext2 filesystem, i should be able to look at whats on it, and throw it out if its unnecessary. i have a swap partition for what puppy is doing with the 2fs. out of a 512mb partition i only have 216 at boot time now, and it has only been like 1 day. i hope fat puppy has a bulimia feature. it is filling up way too fast and i have only installed a few applications, nowhere near 100mb worth either.

how would one go about remastering a puppy cd to do away with the wizard, for a personal use, where the keyboard and language are set to us, the video is set to xorg 1024x768 24, the time zone is preset, and the ip is preset to a static one, along with static dns servers, etc.? and to add or subtract installed packages, such as adding the latest ff, flash player, and java, while removing packages that i do not want.
then it wouldnt be such a pain to deal with fresh installs all the time, because there would be no more setting settings, downloading the same packages, installing them, etc. then, i could even do without a 2fs file because puppy seems to use the swap partition as long as i dont have a 2fs file.

Posted: Tue 08 Dec 2009, 08:53
by disciple
Puppy does not "back up the ram" (although I'm not sure what you mean by that). Different programs save settings and caches and histories and stuff to your save file because they think you should keep these. If you don't want to keep some things, look in the settings of the program for an option that controls whether or how much it saves. For some things you might just want to change the location they are saved to somewhere inside /tmp, which is in ram or swap and is therefore empty when you reboot. If there isn't a setting to control where they are saved you can usually replace either them or the folder they are in (depending on whether they consist of a single file or a folder that stuff is saved in) with a symlink to something in /tmp. If they are a folder you might have to make a startup script to create the folder in /tmp every time you boot.

Check out some of the similar discussions for advice on what might be taking up all the space, e.g.:
http://www.murga-linux.com/puppy/viewto ... 473#273473
http://www.murga-linux.com/puppy/viewto ... 419#339419

You might find the "largest" roxapp, or MU's similar one helpful too http://www.murga-linux.com/puppy/viewto ... 0100#20100[/url]

Posted: Tue 08 Dec 2009, 11:22
by mikeb
latest ff, flash player, and java,
where your space is going...firefox makes large (100MB+) files for its anti phishing database unless you turn it off and then theres the 50MB cache...just 2 examples.

The stuff in ram is what would normally be on your hard drive so needs saving before shutting down.

mike

Posted: Tue 08 Dec 2009, 14:04
by Béèm

Posted: Wed 09 Dec 2009, 05:28
by disciple
The stuff in ram is what would normally be on your hard drive so needs saving before shutting down.
Ah, true. In a couple of specific circumstances Puppy does run fully in ram, only saving to disc at shutdown or occasionally. I think at the moment these circumstances are only when you both have lots of ram and:
1. run from multisession CD/DVD (i.e. Puppy saves back to the CD/DVD every time), or
2. run from "Flash" media.

Of course if you wanted to you could still run from CD or Flash media without saving anything back to disc.