Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Some distro's have an option to delete the files when rebooting, so that the /tmp directory doesn't get to full. Use a directory in your home directory to download files. Another option is to use /var/tmp for the downloading of files. The /tmp partition is really just for the system and tends to be smaller than the /var partition.
I don't know where you would change it. I don't even know which distro you have, but one of the scripts that runs during shutdown, or maybe even a cron script is probably what is doing it.
For mandrake, the graphical setting is in the BOOT setup. You might also browse through the files in /etc/sysconfig/. Sometimes settings are based there.
1) Is there enough space on /tmp to let the download finish?
2) It's possible (but very unlikely) that the program you're using to download is removing any temp files it's created in /tmp when it exits, and is accidentally removing the downloaded file as well.
Yes dave, I hve about 4 GB free on my /tmp and files I need to download do not exceed 1.5GB.
I use the wget tool for downloading my files.
What I have noticed, is that files that have been downloaded and yet used (even by a simple read) are not delated. But files that I left during remote downloading are deleted.
I dont't have enough space disk on my home, that's why I need to download these files on /tmp.
I work on a shared machine and don't have root rights to get more space on my home.
The problem arieses when I'm not in my office (by night when I usually launch my downloads) so the touch command could not really solve mu pb. Perhaps soud I put on a script that executes the wget command and executes the touch command after the download is completed.
I'm using the 1.8.1 wget version.
I understand now why my files disappear.
In fact, while being donloading, files have as date the current date. Once download is finished they acquire the date they got from their original source (the date they have on the site from which they are downloaded). So that, the 240 hours are largely exceeded and files are deleted.