PDA

View Full Version : incredible disappearing /var/hack folder


bbsux
12-22-2004, 11:26 AM
I have a dvr80 that I have 4.01b on...

Why does my /var/hack folder dissappear sometimes?

Doesn't seem to be any ryme or reason to it...

Thanks

dave4089
12-22-2004, 11:32 AM
There is definitely some rhyme and reason to it. When ever the /var filesystem gets too full, the Tivo will rebuild it, thus wiping out anything you had in /var.

Dave

JohnSorTivo
12-22-2004, 11:40 AM
Why does my /var/hack folder dissappear sometimes?This is probably the most often asked question on this forum.

You can attempt to prevent this by cleaning out your /var/log directory either manually, or via a variety of automated processes (http://www.dealdatabase.com/forum/showthread.php?t=40058).

This is also the very reason it is recommended to not include your hacks in the /var partition.

chrised
12-22-2004, 01:08 PM
A full partition isn't the only reason. I had a var partition get corrupted somehow, when e2fsck failed to correct it, Tivo wiped and rebuilt.

mcomer
12-22-2004, 02:56 PM
A full partition isn't the only reason. I had a var partition get corrupted somehow, when e2fsck failed to correct it, Tivo wiped and rebuilt.

Correct, if you take a look in rc.sysinit the /var filesystem is e2fsck'ed up to TWO times, and if it is still not error free it is wiped and rebuilt.

-Matt