I'm submitting this proposal on behalf of myself. It's submitted as
closed-approved-automatic because it is a straight forward simple
enhancement to an existing mechanism. A patch release binding is
requested.
--
1. Introduction
1.1. Project/Component Working Name:
TMPDIR support for Solaris tar
1.2. Name of Document Author/Supplier:
[email protected]
4. Technical Description:
Summary:
This proposal is to modify Solaris tar to honor the environment
variable TMPDIR, and to update the man page accordingly.
Problem:
Currently, tar is hard-coded to create temporary files in
/tmp when the "u" operation is performed.
Because /tmp is used as the temporary file system for many
other commands and operations and as these files can be
potentially large, RFE 6719399 is requesting that some method
of choosing a directory other than /tmp be provided.
Proposed solution:
Many utilities and subsystems (vi, pax, sort, cpio, ...)
already use the environment variable TMPDIR to select where
their temporary files are placed, using /tmp as a default
value if that environment variable is not defined. This proposal
is to make tar do the same.
If TMPDIR is invalid or points to a read-only directory, then
tar will default to using /tmp for its temporary directory.
Doc impact:
The tar manual pages will need to be updated to mention that
tar now supports TMPDIR, in the ENVIRONMENT VARIABLES section.
Bug 6952051 covers this. The proposed text addition is:
TMPDIR tar creates its temporary file in /tmp by default.
Otherwise, it uses the directory specified by TMPDIR.
_______________________________________________
opensolaris-arc mailing list
[email protected]