At 8:44 AM -0500 11/30/99, Wayne Spivak wrote:
>set TMPDIR=/usr/tmp
>
>and can see TMPDIR if I do a set.
>Our db files are:
>
>-rw-r--r--   1 root  wheel  7008256 Nov 30 08:25 db.docdb
>-rw-r--r--   1 root  wheel  9631890 Nov 30 08:25 db.wordlist
>-rw-r--r--   1 root  wheel        0 Nov 30 08:52 db.wordlist.new
>-rw-r--r--   1 root  wheel     2048 Nov 30 08:52 db.words.db
>
>We have over 700mb free.

700MB free on what? /usr/tmp?

You don't mention what shell you're using, but under a Bourne shell, 
'export TMPDIR' is usually the way I set variables. From the bash(1) 
manpage:

The environment inherited by any executed command consists
        of the shell's initial environment, whose  values  may  be
        modified in the shell, less any pairs removed by the unset
        command, plus any additions via the export and declare  -x
        commands.

...

        export [-fn] [name[=word]] ...
        export -p
               The  supplied names are marked for automatic export
               to the environment of  subsequently  executed  com-
               mands.

In other words, only variables marked for export will be inherited by 
new processes.

Hope that helps,

-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.

Reply via email to