On Thursday, August 29, 2002, at 11:42 AM, Janine Sisk wrote:

> We have an installation of nsd 3.2+ad12, which I would like to configure
> to
> use an alternate location for it's temp files.  /tmp on this system isn't
> large enough for the files that need to be uploaded, and an attempt to
> replace it with a symbolic link to a partition with more room was a dismal
> failure (I guess nsd can't follow symbolic links).
>
> I searched the config file reference for tmp and temp, but didn't find
> anything.  Is there a configuration option for this?
>

I'm sure nsd can follow symlinks because I use symlinks in the pages dirs
all the time.  I don't think nsd ever really notices that a symlink is a
symlink.

It looks like temporary files are made using the P_tmpdir constant from
stdio.h.  On my Mac OS X box, P_tmpdir is /var/tmp.  You should look to
see if your stdio.h defines P_tmpdir, and then make sure you make that
into a symlink to the Place of Large Capacity.

Pete.

Reply via email to