Understand that the files under /mnt/home is not included in the save file.
For example, think you save a large file in /root/my-documents, say /root/my-documents/large.pdf.
At shutdown, it is saved in /mnt/home/puppy/pupsave.3fs (assume you installed Puppy in the directory puppy).
Make a directory, say /mnt/home/mydata, and place the large file there, say /mnt/home/mydata/large.pdf.
At shutdown, it is not saevd in the /mnt/home/puppy/pupsave.3fs. it is still there, /mnt/home/mydata/large.pdf.
And the files under /tmp is on RAM but not included into the savefile at shutdown. You can use /tmp for the cache if you have enough RAM and swapping space.
You can manage with small savefile:
- Save your personal data under /mnt/home.
- Use SFS files for large additional applications.
- Download files to /mnt/home/tmp.
- Limit the cache sizes the applications make. Or you can use /mnt/home/tmp for the cache.
You can use /tmp for cache if your PC has enough RAM and swapping space. You can see the size, on terminal, type 'df /tmp' and type 'free' to see swap space:
You can find which file consumes the puppy space using the application Gdmap found under the menu >> File system. Run the gdmap and load /initrd/pup_rw. Some Puppy like Lupu-528 has ROX-Filer right click option. Open the folder /initrd with the ROX-Filer, right-click the folder icon of pup_rw, and select gdmap. Also pup_ro1 for install on flash.
Alternative: Large Files Finder by SFR
http://www.murga-linux.com/puppy/viewtopic.php?t=77779
Portable applications
Some browsers/applications provided as a 'Portable' to be placed outside the Puppy Space(savefile).
Google Chrome
Firefox
SeaMonkey
Thundrbird
Wine
Gimp
CUPS:
The cups daemon makes cache under /var/spool/cups/tmp. You can automatically delete the cache files at shutdown by editing the script /etc/init.d/cups. Insert a line at line 186 or somewhere called when 'cups stop':
Code: Select all
rm -fr /var/spool/cups/tmp/* # shinobar: clean up cache
Open from the seamonkey2 tool bar: Edit >> Preferences...
- Browser >> Downloads >> When saving a file, choose 'Save files to' '/mnt/home/tmp'.
- Advanced >> Cache >> Set Cache Options >> Cache Folder Location:, set '/mnt/home/tmp'.
- Advanced >> Privacy & Security >> Validation: Tick off OCSP.
- Save files to /mnt/home/tmp.
- Limit cache.
- Tick off 2 'Block ...'.
http://www.murga-linux.com/puppy/viewto ... 721#468721
Gimp:
Edit >> Preferences
At 'Environment', you can restrict the cache size.
But more important is where to make cache and swap file.
Go to 'Folders'.
There are 2 strategies:
- Set the cache/swap folder at '/tmp' if your PC has enough RAM. It makes fast and does not consume pupsave.
- Set at '/mnt/home/tmp' for PC's with small RAM size. It does not consume pupsave. But it may slow down the performance.