2009/4/22 Andras Barna <andras.barna at gmail.com>: > On Wed, Apr 22, 2009 at 7:47 PM, Brian Cameron <Brian.Cameron at sun.com> > wrote: >> >> Ghee: >> >>>>>> What we need to do is change the default TMPDIR on OpenSolaris to be >>>>>> /tmp. >>>>> >>>>> I think that is a great suggestion. Do you know who own TMPDIR to make >>>>> the change? >>> >>> Anyone know the package that own TMPDIR? >> >> TMPDIR is an environment variable. ?I don't think any one package owns >> it. ?For example, the glib/gutils.c file references the TEMPDIR, TMP, >> and TEMP directories. ?I believe this is what is used by the gvfs >> temporary files. ?So, I think our team owns how glib behaves in >> relation to TMPDIR. >> > > here (opensolaris) > TEMPDIR, TMP, TEMP are not defined. > so glib will use P_tmpdir (/var/tmp) > > see: line 1524-: http://svn.gnome.org/viewvc/glib/trunk/glib/gutils.c > >>>> Some programs which use TMPDIR may depend on the fact that /var/tmp >>>> is persistent across reboots. >>> >>> Do you particular things in mind? >> >> No I am not aware of any specific issues. ?I would just expect that >> we would need to do some testing, ARC review, etc. before making an >> interface change like this. ?It seems like the kind of change that >> could have unexpected ramifications, even if they are bugs. >> > > well i think no need to change things. applications should remove > stuff if they dont need them, so we should file bugs against them, and > some applications need more space for temp stuff.. so /var/tmp is the > right place
I agree! It should be the application doing the clean up. > >> Brian >> _______________________________________________ >> desktop-discuss mailing list >> desktop-discuss at opensolaris.org >> > > > > -- > Andy > http://blog.sartek.net > _______________________________________________ > desktop-discuss mailing list > desktop-discuss at opensolaris.org
