Module Name:    src
Committed By:   martin
Date:           Mon May 19 15:57:05 UTC 2014

Modified Files:
        src/distrib/amd64/cdroms: etc.rc
        src/distrib/i386/cdroms: etc.rc
        src/distrib/sparc64/cdroms/installcd: etc.rc

Log Message:
Create /var/tmp for vi. Pointed out by Izumi Tsutsui.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/amd64/cdroms/etc.rc
cvs rdiff -u -r1.1 -r1.2 src/distrib/i386/cdroms/etc.rc
cvs rdiff -u -r1.1 -r1.2 src/distrib/sparc64/cdroms/installcd/etc.rc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/amd64/cdroms/etc.rc
diff -u src/distrib/amd64/cdroms/etc.rc:1.1 src/distrib/amd64/cdroms/etc.rc:1.2
--- src/distrib/amd64/cdroms/etc.rc:1.1	Tue Jan 18 00:16:13 2011
+++ src/distrib/amd64/cdroms/etc.rc	Mon May 19 15:57:04 2014
@@ -1,4 +1,4 @@
-# $NetBSD: etc.rc,v 1.1 2011/01/18 00:16:13 jym Exp $
+# $NetBSD: etc.rc,v 1.2 2014/05/19 15:57:04 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -44,8 +44,8 @@ mount -t tmpfs tmpfs /tmp
 mount -t tmpfs tmpfs /var
 mount -t tmpfs -o union tmpfs /etc
 
-# prepare important directories in the tmpfses, so dhcpcd will work
-mkdir -p /var/run /var/db
+# prepare important directories in the tmpfses, so dhcpcd and vi will work
+mkdir -p /var/run /var/db /var/tmp
 
 # create a gettytab to autologin and run sysinst (etc/gettytab is a symlink
 # to /tmp/gettytab)

Index: src/distrib/i386/cdroms/etc.rc
diff -u src/distrib/i386/cdroms/etc.rc:1.1 src/distrib/i386/cdroms/etc.rc:1.2
--- src/distrib/i386/cdroms/etc.rc:1.1	Mon Apr 19 04:41:36 2010
+++ src/distrib/i386/cdroms/etc.rc	Mon May 19 15:57:05 2014
@@ -1,4 +1,4 @@
-# $NetBSD: etc.rc,v 1.1 2010/04/19 04:41:36 martin Exp $
+# $NetBSD: etc.rc,v 1.2 2014/05/19 15:57:05 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -44,8 +44,8 @@ mount -t tmpfs tmpfs /tmp
 mount -t tmpfs tmpfs /var
 mount -t tmpfs -o union tmpfs /etc
 
-# prepare important directories in the tmpfses, so dhcpcd will work
-mkdir -p /var/run /var/db
+# prepare important directories in the tmpfses, so dhcpcd and vi will work
+mkdir -p /var/run /var/db /var/tmp
 
 # create a gettytab to autologin and run sysinst (etc/gettytab is a symlink
 # to /tmp/gettytab)

Index: src/distrib/sparc64/cdroms/installcd/etc.rc
diff -u src/distrib/sparc64/cdroms/installcd/etc.rc:1.1 src/distrib/sparc64/cdroms/installcd/etc.rc:1.2
--- src/distrib/sparc64/cdroms/installcd/etc.rc:1.1	Sun Apr 18 12:58:57 2010
+++ src/distrib/sparc64/cdroms/installcd/etc.rc	Mon May 19 15:57:05 2014
@@ -1,4 +1,4 @@
-# $NetBSD: etc.rc,v 1.1 2010/04/18 12:58:57 martin Exp $
+# $NetBSD: etc.rc,v 1.2 2014/05/19 15:57:05 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -44,8 +44,8 @@ mount -t tmpfs tmpfs /tmp
 mount -t tmpfs tmpfs /var
 mount -t tmpfs -o union tmpfs /etc
 
-# prepare important directories in the tmpfses, so dhcpcd will work
-mkdir -p /var/run /var/db
+# prepare important directories in the tmpfses, so dhcpcd and vi will work
+mkdir -p /var/run /var/db /var/tmp
 
 # create a gettytab to autologin and run sysinst (etc/gettytab is a symlink
 # to /tmp/gettytab)

Reply via email to