Source-Changes-HG archive

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

[src/netbsd-1-5]: src/distrib/sparc64/ramdisk Pull up file removal (requested...



details:   https://anonhg.NetBSD.org/src/rev/03cd1219d0ba
branches:  netbsd-1-5
changeset: 490594:03cd1219d0ba
user:      he <he%NetBSD.org@localhost>
date:      Sat Feb 03 20:21:09 2001 +0000

description:
Pull up file removal (requested by mrg):
  Rename sparc64 ``ramdisk'' to ``xminiroot'' to avoid confusion
  about what it actually does.

diffstat:

 distrib/sparc64/ramdisk/Makefile              |  119 ---------------
 distrib/sparc64/ramdisk/disktab               |   37 ----
 distrib/sparc64/ramdisk/disktab.preinstall    |   31 ---
 distrib/sparc64/ramdisk/dist/base_obsolete    |    1 -
 distrib/sparc64/ramdisk/dist/comp_obsolete    |    1 -
 distrib/sparc64/ramdisk/dist/games_obsolete   |    1 -
 distrib/sparc64/ramdisk/dist/man_obsolete     |    1 -
 distrib/sparc64/ramdisk/dist/misc_obsolete    |    1 -
 distrib/sparc64/ramdisk/dist/secr_obsolete    |    1 -
 distrib/sparc64/ramdisk/dist/xbase_obsolete   |    1 -
 distrib/sparc64/ramdisk/dist/xserver_obsolete |    1 -
 distrib/sparc64/ramdisk/dot.profile.m4        |   75 ---------
 distrib/sparc64/ramdisk/list.m4               |  129 ----------------
 distrib/sparc64/ramdisk/mtree.conf            |   87 -----------
 distrib/sparc64/ramdisk/ramdiskbin.m4         |   52 ------
 distrib/sparc64/ramdisk/termcap.mini          |  202 --------------------------
 16 files changed, 0 insertions(+), 740 deletions(-)

diffs (truncated from 804 to 300 lines):

diff -r 4f93280c9b29 -r 03cd1219d0ba distrib/sparc64/ramdisk/Makefile
--- a/distrib/sparc64/ramdisk/Makefile  Sat Feb 03 20:05:27 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,119 +0,0 @@
-#      $NetBSD: Makefile,v 1.3.2.2 2000/08/26 01:07:06 mrg Exp $
-
-TOP=           ${.CURDIR}/..
-MINIROOT=      ${TOP}/../miniroot
-HACKSRC=       ${TOP}/../utils/libhack
-SRCROOT=       ${TOP}/../..
-WARNS=1
-
-.if ${MACHINE_ARCH} == "i386"
-RAW_PART=      d
-.else
-RAW_PART=      c
-.endif
-
-# Need to add more cases
-.if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "m68k" || \
-    ${MACHINE_ARCH} == "sparc64"
-FS_END=                be
-.else          # i386, pmax
-FS_END=                le
-.endif
-
-AUXDEPENDS=    dot.profile disktab.preinstall termcap.mini \
-               dist/base_obsolete dist/comp_obsolete \
-               dist/games_obsolete dist/man_obsolete dist/misc_obsolete \
-               dist/secr_obsolete dist/xbase_obsolete dist/xserver_obsolete
-AUXCLEAN=      list ${CBIN}.conf dot.profile
-
-CBIN=          ramdiskbin
-
-.if ${MACHINE_ARCH} == "sparc64"
-CSIZE?=                10240
-.endif
-
-MOUNT_POINT?=  /mnt
-# DEV/RDEV file system device, CDEV/RDEV vnconfig device
-VND?=          vnd0
-VND_DEV=       /dev/${VND}c
-VND_RDEV=      /dev/r${VND}c
-VND_CDEV=      /dev/${VND}${RAW_PART}
-VND_CRDEV=     /dev/r${VND}${RAW_PART}
-IMAGE?=                ramdisk.fs
-CSIZE?=         3312
-MDEC=          ${DESTDIR}/usr/mdec
-
-LISTS=         list
-CRUNCHCONF=    ${CBIN}.conf
-MTREE=         mtree.conf
-
-DISKTYPE?=     miniroot
-
-all: ${CBIN} ${AUXDEPENDS} ${MTREE} ${LISTS} dot.profile
-       dd if=/dev/zero of=${IMAGE} count=${CSIZE}
-       vnconfig -v -c ${VND_CDEV} ${IMAGE}
-       disklabel -f ${.CURDIR}/disktab -rw ${VND_CDEV} ${DISKTYPE}
-       newfs -B ${FS_END} -m 0 -o space -i 5120 -c 80 ${VND_RDEV} ${DISKTYPE}
-       mount ${VND_DEV} ${MOUNT_POINT}
-       mtree -def ${.CURDIR}/${MTREE} -p ${MOUNT_POINT}/ -u
-       TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
-           KERNOBJDIR=${KERNOBJDIR} \
-           TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTS}
-       @echo ""
-       @df -i ${MOUNT_POINT}
-       @echo ""
-       @echo "installing new bootblocks"
-       ${MDEC}/binstall -m ${DESTDIR}/usr/mdec -u -v ffs ${MOUNT_POINT}
-       umount ${MOUNT_POINT}
-       vnconfig -u ${VND_CDEV}
-
-unconfig:
-       -umount -f ${MOUNT_POINT}
-       -vnconfig -u ${VND_DEV}
-       -/bin/rm -f ${IMAGE}
-
-dot.profile: dot.profile.m4
-       m4 -DMACHINE_ARCH=${MACHINE_ARCH} -DMACHINE=${MACHINE} \
-                               ${.ALLSRC} > ${.TARGET}
-
-${LISTS}: ${LISTS}.m4
-       m4 -DMACHINE_ARCH=${MACHINE_ARCH} -DMACHINE=${MACHINE} \
-                       -DSRCROOT=${SRCROOT} ${.ALLSRC} > ${.TARGET}
-
-${CBIN}.conf: ${CBIN}.m4
-       m4 -DMACHINE_ARCH=${MACHINE_ARCH} -DMACHINE=${MACHINE} \
-                               ${.ALLSRC} > ${.TARGET}
-
-${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
-       crunchgen -D ${SRCROOT} -L ${DESTDIR}/usr/lib ${.ALLSRC}
-
-${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
-       make -f ${CBIN}.mk all
-
-# This is listed in ramdiskbin.conf but is built here.
-${CBIN}: libhack.o
-
-# Use stubs to eliminate some large stuff from libc
-.include "${HACKSRC}/Makefile.inc"
-
-# turn off small gethostby* temporarily
-HACKOBJS:= getcap.o getgrent.o getnet.o getnetgr.o getpwent.o setlocale.o yplib.o
-
-clean cleandir distclean:
-       /bin/rm -f *.core ${AUXCLEAN} ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.cro *.c
-
-.ifndef RELEASEDIR
-release:
-       @echo setenv RELEASEDIR first
-       @false
-.else
-release: $(IMAGE)
-       @mkdir -p $(RELEASEDIR)/installation/ramdisk
-       gzip -c -9 < $(.OBJDIR)/ramdisk.fs \
-               > $(RELEASEDIR)/installation/ramdisk/ramdisk.fs.gz
-.endif # RELEASEDIR check
-
-.include <bsd.own.mk>
-.include <bsd.obj.mk>
-.include <bsd.subdir.mk>
-.include <bsd.sys.mk>
diff -r 4f93280c9b29 -r 03cd1219d0ba distrib/sparc64/ramdisk/disktab
--- a/distrib/sparc64/ramdisk/disktab   Sat Feb 03 20:05:27 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-#      $NetBSD: disktab,v 1.1.2.2 2000/08/26 01:07:06 mrg Exp $
-#
-# Disk geometry and partition layout tables.
-# Key:
-#      dt      controller type
-#      ty      type of disk (fixed, removeable, simulated)
-#      d[0-4]  drive-type-dependent parameters
-#      ns      #sectors/track
-#      nt      #tracks/cylinder
-#      nc      #cylinders/disk
-#      sc      #sectors/cylinder, ns*nt default
-#      su      #sectors/unit, sc*nc default
-#      se      sector size, DEV_BSIZE default
-#      rm      rpm, 3600 default
-#      sf      supports bad144-style bad sector forwarding
-#      sk      sector skew per track, default 0
-#      cs      sector skew per cylinder, default 0
-#      hs      headswitch time, default 0
-#      ts      one-cylinder seek time, default 0
-#      il      sector interleave (n:1), 1 default
-#      bs      boot block size, default BBSIZE
-#      sb      superblock size, default SBSIZE
-#      o[a-h]  partition offsets in sectors
-#      p[a-h]  partition sizes in sectors
-#      b[a-h]  partition block sizes in bytes
-#      f[a-h]  partition fragment sizes in bytes
-#      t[a-h]  partition types (filesystem, swap, etc)
-#
-# All partition sizes reserve space for bad sector tables.
-# (5 cylinders needed for maintenance + replacement sectors)
-#
-
-# pseudo-geometry taken from rd7945
-miniroot:\
-       :ty=winchester:ns#16:nt#7:nc#968:\
-       :pa#10240:ba#8192:fa#1024:\
-       :pc#10240:bc#8192:fc#1024:
diff -r 4f93280c9b29 -r 03cd1219d0ba distrib/sparc64/ramdisk/disktab.preinstall
--- a/distrib/sparc64/ramdisk/disktab.preinstall        Sat Feb 03 20:05:27 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-#      $NetBSD: disktab.preinstall,v 1.1.2.2 2000/08/26 01:07:06 mrg Exp $
-#
-# Disk geometry and partition layout tables. 
-# Key:
-#      dt      controller type
-#      ty      type of disk (fixed, removeable, simulated)
-#      d[0-4]  drive-type-dependent parameters
-#      ns      #sectors/track
-#      nt      #tracks/cylinder
-#      nc      #cylinders/disk
-#      sc      #sectors/cylinder, nc*nt default
-#      su      #sectors/unit, sc*nc default
-#      se      sector size, DEV_BSIZE default
-#      rm      rpm, 3600 default
-#      sf      supports bad144-style bad sector forwarding
-#      sk      sector skew per track, default 0
-#      cs      sector skew per cylinder, default 0
-#      hs      headswitch time, default 0
-#      ts      one-cylinder seek time, default 0
-#      il      sector interleave (n:1), 1 default
-#      bs      boot block size, default BBSIZE
-#      sb      superblock size, default SBSIZE
-#      o[a-h]  partition offsets in sectors
-#      p[a-h]  partition sizes in sectors
-#      b[a-h]  partition block sizes in bytes
-#      f[a-h]  partition fragment sizes in bytes
-#      t[a-h]  partition types (filesystem, swap, etc)
-#
-# All partition sizes reserve space for bad sector tables.
-# (5 cylinders needed for maintenance + replacement sectors)
-#
diff -r 4f93280c9b29 -r 03cd1219d0ba distrib/sparc64/ramdisk/dist/base_obsolete
--- a/distrib/sparc64/ramdisk/dist/base_obsolete        Sat Feb 03 20:05:27 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-$NetBSD: base_obsolete,v 1.1.2.2 2000/08/26 01:07:07 mrg Exp $
diff -r 4f93280c9b29 -r 03cd1219d0ba distrib/sparc64/ramdisk/dist/comp_obsolete
--- a/distrib/sparc64/ramdisk/dist/comp_obsolete        Sat Feb 03 20:05:27 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-$NetBSD: comp_obsolete,v 1.1.2.2 2000/08/26 01:07:07 mrg Exp $
diff -r 4f93280c9b29 -r 03cd1219d0ba distrib/sparc64/ramdisk/dist/games_obsolete
--- a/distrib/sparc64/ramdisk/dist/games_obsolete       Sat Feb 03 20:05:27 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-$NetBSD: games_obsolete,v 1.1.2.2 2000/08/26 01:07:07 mrg Exp $
diff -r 4f93280c9b29 -r 03cd1219d0ba distrib/sparc64/ramdisk/dist/man_obsolete
--- a/distrib/sparc64/ramdisk/dist/man_obsolete Sat Feb 03 20:05:27 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-$NetBSD: man_obsolete,v 1.1.2.2 2000/08/26 01:07:07 mrg Exp $
diff -r 4f93280c9b29 -r 03cd1219d0ba distrib/sparc64/ramdisk/dist/misc_obsolete
--- a/distrib/sparc64/ramdisk/dist/misc_obsolete        Sat Feb 03 20:05:27 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-$NetBSD: misc_obsolete,v 1.1.2.2 2000/08/26 01:07:08 mrg Exp $
diff -r 4f93280c9b29 -r 03cd1219d0ba distrib/sparc64/ramdisk/dist/secr_obsolete
--- a/distrib/sparc64/ramdisk/dist/secr_obsolete        Sat Feb 03 20:05:27 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-$NetBSD: secr_obsolete,v 1.1.2.2 2000/08/26 01:07:08 mrg Exp $
diff -r 4f93280c9b29 -r 03cd1219d0ba distrib/sparc64/ramdisk/dist/xbase_obsolete
--- a/distrib/sparc64/ramdisk/dist/xbase_obsolete       Sat Feb 03 20:05:27 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-$NetBSD: xbase_obsolete,v 1.1.2.2 2000/08/26 01:07:08 mrg Exp $
diff -r 4f93280c9b29 -r 03cd1219d0ba distrib/sparc64/ramdisk/dist/xserver_obsolete
--- a/distrib/sparc64/ramdisk/dist/xserver_obsolete     Sat Feb 03 20:05:27 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-$NetBSD: xserver_obsolete,v 1.1.2.2 2000/08/26 01:07:08 mrg Exp $
diff -r 4f93280c9b29 -r 03cd1219d0ba distrib/sparc64/ramdisk/dot.profile.m4
--- a/distrib/sparc64/ramdisk/dot.profile.m4    Sat Feb 03 20:05:27 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-# $NetBSD: dot.profile.m4,v 1.2.2.2 2000/08/26 01:07:06 mrg Exp $
-#
-# Copyright (c) 1997 Perry E. Metzger
-# Copyright (c) 1994 Christopher G. Demetriou
-# All rights reserved.
-# 
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1. Redistributions of source code must retain the above copyright
-#    notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-#    notice, this list of conditions and the following disclaimer in the
-#    documentation and/or other materials provided with the distribution.
-# 3. All advertising materials mentioning features or use of this software
-#    must display the following acknowledgement:
-#          This product includes software developed for the
-#          NetBSD Project.  See http://www.netbsd.org/ for
-#          information about NetBSD.
-# 4. The name of the author may not be used to endorse or promote products
-#    derived from this software without specific prior written permission.
-# 
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 
-# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
-
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-
-ifelse(MACHINE,i386,TERM=pc3)
-ifelse(MACHINE,sparc,TERM=sun)
-export TERM
-HOME=/
-export HOME
-BLOCKSIZE=1k
-export BLOCKSIZE
-EDITOR=ed
-export EDITOR
-
-umask 022
-
-if [ "X${DONEPROFILE}" = "X" ]; then
-       DONEPROFILE=YES
-       export DONEPROFILE
-
-       # set up some sane defaults
-       echo 'erase ^?, werase ^W, kill ^U, intr ^C'
-       stty newcrt werase ^W intr ^C kill ^U erase ^? 9600



Home | Main Index | Thread Index | Old Index