Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I notice that funplug is creating a /ffp/tmp directory, but I haven't noticed it being used. I found that I was running out of space on /tmp with a perl script and fixed the problem by removing /tmp and replacing it with a symbolic link to /ffp/tmp.
Is there a reason that this isn't being done in the funplug script?
Offline
I'd leave the original /tmp as it is, but point environment variables TMPDIR, TEMP and TMP to /ffp/tmp.
I also use the latter for lighthttpd (server.upload-dirs = ( "/ffp/tmp" ) in lighttpd.conf)
Out of curiosity, how did you run out of space in the original tmp dir?
Offline
KyleK wrote:
Out of curiosity, how did you run out of space in the original tmp dir?
patch can use up quite a bit in /tmp (I've had quite a few 'disk full' errors from patch). gcc, gas, etc also default to /tmp if TMPDIR is not set.
Offline
KRH wrote:
/tmp is used by the firmware to put some "importen" files.
This is true; but I copied the existing contents to /tmp to /ffp/tmp before deleting the old /tmp and creating the symlink. Unless the system changes the contents of the files in the brief time that it takes to copy the files and create the symlink, I don't see the problem.
Offline
one problem (atleast for me) would be: unless you use usb for funplug and other stuff, this will just keep your disks up all the time..
but i would also use TMPDIR environment variable instead of linking. makes things look less "dirty"
Offline
KyleK wrote:
I'd leave the original /tmp as it is, but point environment variables TMPDIR, TEMP and TMP to /ffp/tmp.
I also use the latter for lighthttpd (server.upload-dirs = ( "/ffp/tmp" ) in lighttpd.conf)
Out of curiosity, how did you run out of space in the original tmp dir?
Thanks. I will try this.
I ran into the problem when I was trying to run the nzbperl script. This script uses uudeview to decode the files that it downloads. uudeview does the decode operation in /tmp before copying the result to the final location.
For what it's worth, I am moving away from this solution for the moment due to the difficulty of daemonizing a perl process across logins and am trying to get nzbget compiled and running.
Offline
KyleK wrote:
I'd leave the original /tmp as it is, but point environment variables TMPDIR, TEMP and TMP to /ffp/tmp.
I would like to change TMPDIR, TEMP and TMP variables. Where can I put the export command so that the variables are set at each reboot for the whole system ?
Thank you for your help !
EDIT: I'm answering myself, the export command has to be put in /etc/profile
:-)
Last edited by Whistle Master (2010-04-21 17:04:52)
Offline