Brian Cameron wrote:
> It might be nice if we cleared them away at boot time. These temp
> files seem to cause the most problem when they are left over from
> before the machine was started.
That would be done for you if you just put them into /tmp instead of
/var/tmp. (Which is one common workaround - setting TMPDIR=/tmp in
.dtprofile.)
> Probably the best way to do this would be to simply set up a SMF
> service that starts up at boot time and clears away the files only
> when it is started at boot time.
PSARC is currently discussing a case for the rmtmpfiles service
wondering if anyone needs a service for clearing /var/tmp at boot.
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering