[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Symlinking /tmp to /var...



On Mon, Oct 16, 2000 at 10:19:08AM +0200, Daniel Reuter (reuter@Uni-Hohenheim.DE) wrote:
> Hello there,
> 
> On Sat, 14 Oct 2000 kmself@ix.netcom.com wrote:
> 
> > On Sat, Oct 14, 2000 at 05:45:26AM -0500, Bud Rogers (budr@sirinet.net) wrote:
> > > On Sat, 14 Oct 2000, Miquel van Smoorenburg wrote:
> > > 
> > > > Alternatively symlink /tmp to the existing /var/tmp
> > > 
> > > That would have been my suggestion.  Anything wrong with that?
> > 
> > Check your init scripts.  /tmp is wiped on boot.  /var/tmp may not be.
> 
> In a standard installation (i.e. you havn't modified the init-scripts
> yourself), /var/tmp is wiped. So the symlink way worked for me without the
> slightest problem.

Are you sure?

If you've created the symlink and /var/tmp is mounted, you will wipe
/var/tmp at boot along with /tmp.

If you're running the tmpreaper utility, you'll automatically wipe
everything in /tmp not accessed within the past 7 days.

/etc/init.d/bootmisc.sh wipes /tmp only, not /var/tmp.

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?      There is no K5 cabal
   http://gestalt-system.sourceforge.net/        http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgpRDJ8YRF0DV.pgp
Description: PGP signature


Reply to: