From owner-freebsd-stable Tue Jan 11 2:35:45 2000 Delivered-To: freebsd-stable@freebsd.org Received: from ramstind.gtf.ol.no (ramstind.gtf.ol.no [128.39.174.16]) by hub.freebsd.org (Postfix) with ESMTP id 4828615191; Tue, 11 Jan 2000 02:35:36 -0800 (PST) (envelope-from trond@ramstind.gtf.ol.no) Received: from localhost (trond@localhost) by ramstind.gtf.ol.no (8.9.3/8.9.3) with ESMTP id LAA75580; Tue, 11 Jan 2000 11:35:27 +0100 (CET) (envelope-from trond@ramstind.gtf.ol.no) Date: Tue, 11 Jan 2000 11:35:27 +0100 (CET) From: Trond Endrestol To: FreeBSD stable , FreeBSD current Subject: Making sure /var/tmp/vi.recover exists during reboot Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, This is something you might want to put in /etc/rc in both -stable and -current. Scenario: /tmp is MFS, /var/tmp, /usr/tmp and /usr/local/tmp are symlinks to /tmp, and hence /var/tmp/vi.recover does not exist at reboot and causes «cosmetic interference» on the console during reboot. Solution: Add these lines after the «# Recover vi editor files.» line (about line #345): if [ ! -d /var/tmp/vi.recover ]; then mkdir /var/tmp/vi.recover; chmod 1777 /var/tmp/vi.recover; chown root:wheel /var/tmp/vi.recover; fi ---------------------------------------------------------------------- Trond Endrestøl | trond@gtf.ol.no Merkantilvegen 59HB7, | trond@ramstind.gtf.ol.no N-2815 GJØVIK, NORWAY |+47 61139424 || +47 63874242 Patron of The Art of Computer Programming| FreeBSD 3.3 & Pine 4.10 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message