PDA

View Full Version : Var too big



Ambrose
09-08-2004, 12:57 AM
Anyone ever had a problem when remastering and making var too big? I added about 300 megs of html/php code to a Knoppix remaster, and when I go to boot it up I get an error about var being too big.

Has this happened to anyone else? Is there a way to 'change' the limit or something like that?

Thanks,

-a

TyphoonMentat
09-13-2004, 07:12 AM
You might want to check in /var/tmp and /var/log to see if you've left any large temporary files in your remaster.

Ambrose
09-13-2004, 06:28 PM
Well there are no big temp files, but /var/www/html is almost 300 megs, that's what I figure the problem is.

Why, is what I'm trying to figure out, this is causing an error

ying-yang7
09-30-2004, 03:03 PM
:idea: Maybe you can do a script.
When you boot you'r remaster, run the script, putting it on /etc/rc5.d

cp -fr /anydirectory /var/www/html

Good Luck

Ambrose
10-13-2004, 12:51 AM
Well, that in theory would work, but then if your /var/www/html is 1000 megs, your script would copy 1000 megs off of the CD onto the /anydirectory, which would either be a hard drive or the ramdisk.

So that's not going to work mainly because of the amount of time it would take to copy each boot, as well as most computers don't have a gig of ram.

Knoppix *should* just accept the big var, or there *should* be a place to specify the limiting size of the var.

ying-yang7
10-13-2004, 12:11 PM
:idea: :idea:
and, if you link the directory?
link all /var/www/html
and the "html" directory, is on another place.....

Good Luck