How do I make npviewer.bin respect $TMPDIR ??

Carlos A. M. dos Santos unixmania at gmail.com
Sat Dec 19 18:01:49 UTC 2009


On Thu, Dec 17, 2009 at 12:55 PM, Ulrich Spörlein <uqs at spoerlein.net> wrote:
> On Sun, 06.12.2009 at 12:18:21 -0800, Doug Barton wrote:
>> Howdy,
>>
>> I'm -current, i386, linux_base-f10-10_2, and
>> linux-f10-flashplugin-10.0r32; all with the latest firefox 35. It all
>> works fine, until my teeny tiny (24M) memory disk /tmp gets full.
>>
>> I have created a wrapper script for firefox to set TMPDIR (and TMP and
>> TEMPDIR just in case) to a large partition on local disk, which works
>> for firefox proper, but npviewer.bin is still putting its temp files
>> on the real /tmp. So, how do I whip it into shape?
>
> Haven't tried this, but there's a slight chance that the linux binary
> will prefer /compat/linux paths over / paths, and since there seems to
> be no /compat/linux/tmp, please try creating or symlinking one ...

Or put something like this in /etc/fstab:

    /tmp    /usr/compat/linux/tmp    nullfs    rw    0    0

-- 
My preferred quotation of Robert Louis Stevenson is "You cannot
make an omelette without breaking eggs". Not because I like the
omelettes, but because I like the sound of eggs being broken.


More information about the freebsd-ports mailing list