Source-Changes-HG archive

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

[src/trunk]: src/distrib/evbppc/ramdisk Switch to using tmpfs.



details:   https://anonhg.NetBSD.org/src/rev/32dc11cd09d0
branches:  trunk
changeset: 760982:32dc11cd09d0
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jan 18 01:27:16 2011 +0000

description:
Switch to using tmpfs.
Add mount_tmpfs, ps, netstat, vmstat, and date to ramdisk image.

diffstat:

 distrib/evbppc/ramdisk/dot.profile |   6 +++---
 distrib/evbppc/ramdisk/list        |  10 +++++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (71 lines):

diff -r f74554b92b2b -r 32dc11cd09d0 distrib/evbppc/ramdisk/dot.profile
--- a/distrib/evbppc/ramdisk/dot.profile        Tue Jan 18 01:25:29 2011 +0000
+++ b/distrib/evbppc/ramdisk/dot.profile        Tue Jan 18 01:27:16 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2003/07/26 17:06:41 salo Exp $
+# $NetBSD: dot.profile,v 1.3 2011/01/18 01:27:16 matt Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -53,8 +53,8 @@
        # mount root read-write
        mount -u /dev/md0a /
 
-       # mount a /tmp on mfs, to avoid filling the md
-       mount -t mfs swap /tmp
+       # mount a /tmp on tmpfs, to avoid filling the md
+       mount_tmpfs tmpfs /tmp
 
        # get the terminal type
        _forceloop=""
diff -r f74554b92b2b -r 32dc11cd09d0 distrib/evbppc/ramdisk/list
--- a/distrib/evbppc/ramdisk/list       Tue Jan 18 01:25:29 2011 +0000
+++ b/distrib/evbppc/ramdisk/list       Tue Jan 18 01:27:16 2011 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: list,v 1.15 2011/01/14 10:26:31 tsutsui Exp $
+#      $NetBSD: list,v 1.16 2011/01/18 01:27:16 matt Exp $
 
 SRCDIRS        bin sbin usr.bin usr.sbin
 
 PROG   bin/cat
 PROG   bin/chmod
 PROG   bin/cp
+PROG   bin/date
 PROG   bin/dd
 PROG   bin/df
 PROG   bin/ed
@@ -15,6 +16,7 @@
 PROG   bin/mv
 PROG   bin/pax         usr/bin/tar
 PROG   bin/pwd
+PROG   bin/ps
 PROG   bin/rcmd
 PROG   bin/rcp
 PROG   bin/rm
@@ -33,7 +35,7 @@
 PROG   sbin/mount
 PROG   sbin/mount_cd9660
 PROG   sbin/mount_ffs
-PROG   sbin/mount_msdos
+PROG   sbin/mount_tmpfs
 PROG   sbin/mount_nfs
 PROG   sbin/newfs      sbin/mount_mfs
 PROG   sbin/ping
@@ -49,6 +51,8 @@
 PROG   usr/bin/more
 PROG   usr/bin/sed
 PROG   usr/bin/tset
+PROG   usr/bin/vmstat
+PROG   usr/bin/netstat
 
 PROG   usr/sbin/chroot
 
@@ -63,7 +67,7 @@
 SPECIAL        route           srcdir  distrib/utils/x_route
 SPECIAL        umount          srcdir  distrib/utils/x_umount
 
-LIBS   libhack.o -ledit -lutil -lcurses -lterminfo -lrmt -ll -lm -lz -lprop
+LIBS   libhack.o -ledit -lutil -lcurses -lterminfo -lkvm -lrmt -ll -lm -lz -lprop
 
 # various files that we need in /etc for the install
 COPY   ${NETBSDSRCDIR}/etc/group               etc/group



Home | Main Index | Thread Index | Old Index