From owner-freebsd-bugs Sat May 13 5:20: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 91EA237BDE1 for ; Sat, 13 May 2000 05:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA59129; Sat, 13 May 2000 05:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sat, 13 May 2000 05:20:02 -0700 (PDT) Message-Id: <200005131220.FAA59129@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Jeroen Ruigrok/Asmodai Subject: Re: conf/18461: vi.recover misplaced in /var/tmp Reply-To: Jeroen Ruigrok/Asmodai Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR conf/18461; it has been noted by GNATS. From: Jeroen Ruigrok/Asmodai To: Gregory Bond Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: conf/18461: vi.recover misplaced in /var/tmp Date: Sat, 13 May 2000 14:07:23 +0200 -On [20000509 12:01], Gregory Bond (gnb@itga.com.au) wrote: > >From: Gregory Bond > > > vi.recover should not be in /var/tmp. imagine the case > > where /var/tmp is a memory filesystem. upon reboot, > > everything is lost. > > On the contrary, /var/tmp is exactly the right spot for vi.recover, because > /var/tmp is -explicitly documented- to remain over reboots. See "man hier". > > Anyone who uses mfs for /var/tmp is just plain wrong. I agree with the above sentiment, from hier(7): /tmp/ temporary files, usually a mfs(8) memory-based filesystem (the contents of /tmp are usually NOT preserved across a system re- boot) /var/ multi-purpose log, temporary, transient, and spool files tmp/ temporary files that are kept between system reboots vi.recover/ the directory where recovery files are stored This is also why there is a clear_tmp_enable directive in the rc.conf. -- Jeroen Ruigrok vd Werven/Asmodai asmodai@[wxs.nl|bart.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best The BSD Programmer's Documentation Project And every word upon your spiralling cross is but a misled sun, a bitter loss... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message