Page 1 of 2

Save file clarification

Posted: Thu 12 Jul 2012, 20:51
by rmcellig
My save file is always running low (red instead of green). I can't figure out why. My understanding is that the save file saves only what is in my root directory? As far as I know, my root directory has hardly anything in it. I make a point of saving to mnt/home instead or to an another partition or drive on my computer.

Posted: Thu 12 Jul 2012, 21:26
by duke93535
Any thing you change or add is saved to the save-file. Not just your /root. Of course you can symbolic link to other accessible locations. The only thing then being saved is the link.

Look at your /initrd/pup_rw to see what is in the save-file.

Posted: Thu 12 Jul 2012, 21:29
by rmcellig
Thanks I will take a look. I always wanted to know what exactly is going into my save file. Thanks again!!

Re: Save file clarification

Posted: Thu 12 Jul 2012, 22:04
by mcewanw
rmcellig wrote:My save file is always running low (red instead of green). I can't figure out why. My understanding is that the save file saves only what is in my root directory? As far as I know, my root directory has hardly anything in it. I make a point of saving to mnt/home instead or to an another partition or drive on my computer.
Stuff you put into /mnt/home shouldn't be eating into your save file nor should anything you put into another partition so I'm not sure what the problem might be. Are you sure it really is another partition or /mnt/home that you are saving most stuff to?

Posted: Thu 12 Jul 2012, 22:45
by rmcellig
My save file indicator is now green. Here are the contents of my save file.

Posted: Fri 13 Jul 2012, 18:12
by sfeeley
I find that the cache of my browser tends to fill things up. You can purge the browser cache, and reduce its size

Posted: Fri 13 Jul 2012, 18:59
by rmcellig
Thanks. I totally forgot about my browser cache.

Posted: Fri 13 Jul 2012, 20:50
by Flash
If you're using SeaMonkey, you can tell SeaMonkey to put its cache in /tmp so that the cache is not saved. In SeaMonkey, go to Edit -> Preferences -> Advanced -> Cache, click the Choose folder button and navigate to /tmp

Posted: Fri 13 Jul 2012, 21:10
by rmcellig
Thanks! So just to be clear, aside from not saving anything in my root directory, is there anything else I need to consider in order that my bars are always a solid green?

One more thing. When I am in puppy, is there a way to tell which save file I am saving too?

Posted: Fri 13 Jul 2012, 22:12
by Karl Godt
rmcellig wrote:Thanks! So just to be clear, aside from not saving anything in my root directory, is there anything else I need to consider in order that my bars are always a solid green?

One more thing. When I am in puppy, is there a way to tell which save file I am saving too?
You can resize the save file :resizepfile.sh should be launched somewhere in the Menu .

To check which save-file is used you can use the terminal commands

Code: Select all

df
mount
cat /etc/rc.d/BOOTCONFIG
Puppy frugally installed on flash and on normal HDD treat /initrd/pup_rw directory differently .

While on flash pup_rw is tmpfs and gets buffered with the minutes you can choose in the eventmanager GUI (default 30 i think).
where on HDD pup_rw is a normal layer in the aufs .

Posted: Sat 14 Jul 2012, 00:43
by rmcellig
Thanks again for the explanation.

Posted: Sat 14 Jul 2012, 01:03
by Barkin
http://www.murga-linux.com/puppy/viewtopic.php?p=605794#605794

BTW If you are using FireFox, as default it will incrementally download a store of forbidden URLs, ("urlclassifier3.sqlite"), which is about 35Mb, or more

Posted: Sat 14 Jul 2012, 01:37
by darkcity
more savefile fun here-
http://puppylinux.org/wikka/SaveFile

also I've add resize page, using much of the info here - thank s everyone Image

http://puppylinux.org/wikka/ResizeSaveFile

Posted: Sat 14 Jul 2012, 02:12
by jpeps
You can search /root for various caches. There's one for openoffice, gnome-player, adobe, etc... Create symlinks for large directories like .mozilla folder, or files like libflashplayer. I included a button in access-finder that shows me the size & location of all caches.

Posted: Sun 09 Dec 2012, 18:10
by greengeek
rmcellig wrote:My save file indicator is now green. Here are the contents of my save file.
In that image there is no data listed for the size of each directory, and I always find this makes it hard to know which directory to investigate in order to trim the excess unwanted files. Does anyone know of a way to display directory size rather than just individual files?

Posted: Sun 09 Dec 2012, 18:20
by jpeps
greengeek wrote:
rmcellig wrote:My save file indicator is now green. Here are the contents of my save file.
In that image there is no data listed for the size of each directory, and I always find this makes it hard to know which directory to investigate in order to trim the excess unwanted files. Does anyone know of a way to display directory size rather than just individual files?
cd /initrd/pup_rw

du -h -d1

Posted: Sun 09 Dec 2012, 18:28
by greengeek
I just found a tip on another topic which suggested using menu, filesystem, gdmap to display parts of the filesystem in order to track where the largest blocks of data are. Looks like a really helpful programme. It creates an amazing image - almost worthy of being used as a desktop background.

You just hover over each block and it tells you what it belongs to. Made me realise my mhwaveedit temp files were huge.

Posted: Sun 09 Dec 2012, 18:34
by greengeek
jpeps wrote:cd /initrd/pup_rw
du -h -d1
Thanks jpeps. This seems to give an "invalid option" syntax error though. Neither "minus d one" nor "minus d ell" seems to work. Am I reading it wrong? Thx.

Posted: Sun 09 Dec 2012, 19:10
by jpeps
greengeek wrote:
jpeps wrote:cd /initrd/pup_rw
du -h -d1
Thanks jpeps. This seems to give an "invalid option" syntax error though. Neither "minus d one" nor "minus d ell" seems to work. Am I reading it wrong? Thx.
that's -d[one]

strange: what version of busybox? busybox | head -1

also: du --help

(try busybox du -h -d1 ??)

edit: both gnu-coreutils and busybox should have -d option.

Posted: Sun 09 Dec 2012, 21:36
by Barkin
greengeek wrote:... my mhwaveedit temp files were huge.
I had that problem ... http://murga-linux.com/puppy/viewtopic.php?t=74992&sid=56d69fe3ed23172aff3f9d5ffe74d892