1#!/bin/sh - 2# 3# Copyright (c) 1990 The Regents of the University of California. 4# All rights reserved. 5# 6# %sccs.include.redist.sh% 7# 8# @(#)buildboot 1.6 (Berkeley) 07/04/90 9# 10 11boot=dk2b # partition to build bootstrap FS on 12boottype=xfd # type of ${boot} partition 13bootmnt=/tmp/mini # mount point 14DISTROOT=/nbsd # place to get programs from 15 16date 17umount /dev/${boot} 18newfs -s 1500 ${boot} ${boottype} 19fsck /dev/r${boot} 20 21mkdir ${bootmnt}; 22mount /dev/${boot} ${bootmnt} 23 24# HCX-9 programs (HCX-7 too?; not positive this is right, either) 25#cp -p $DISTROOT/stand/copy ${bootmnt} 26#cp -p $DISTROOT/stand/vdformat ${bootmnt} 27#cp -p $DISTROOT/boot ${bootmnt} 28# END HCX-9 programs 29 30# TAHOE programs 31cp -p $DISTROOT/stand/copy ${bootmnt} 32cp -p $DISTROOT/stand/vdformat ${bootmnt} 33cp -p $DISTROOT/boot ${bootmnt} 34cp -p $DISTROOT/wcs ${bootmnt} 35cp -p $DISTROOT/fppwcs ${bootmnt} 36# END TAHOE programs 37 38sync 39umount /dev/${boot} 40fsck /dev/r${boot} 41date 42