Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 1997 09:39:27 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        cracauer@wavehh.hanse.de
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: conf/3605: New /etc/rc not clearing /tmp
Message-ID:  <19970712093927.OO54538@uriah.heep.sax.de>
In-Reply-To: <9707101048.AA17785@wavehh.hanse.de>; from Martin Cracauer on Jul 10, 1997 12:48:39 %2B0200
References:  <199705191725.NAA23220@lakes.water.net> <19970520002537.XH34654@uriah.heep.sax.de> <9707101048.AA17785@wavehh.hanse.de>

next in thread | previous in thread | raw e-mail | index | archive | help
As Martin Cracauer wrote:

> A case a friend of mine encoutered once is that you change your scsi
> disks so that they are numbered in a different order. You then mount a
> wrong filesystem under /tmp and its contents get deleted.

You can wire your disks if you want.

> Conclusion:
> -----------
> 
> To rc.conf, add two variables to control:
> a) "cleanup on boottime", yes/no
> b) regular cleanup, the variable's value should be the number of days
>    a file needs to be untouched. Maybe deletion should optionally
>    happen on the base of atime, not mtime.

I could agree with this.  The bugs list is probably not the best forum
to ask this kind of design questions however.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970712093927.OO54538>