for Reno -- file system reorganization, redo commands, /usr/hosts is
[unix-history] / usr / src / sys / tahoe / dist / buildboot
CommitLineData
e6c5418d 1#!/bin/sh -
fff3e88c 2#
e6c5418d
KB
3# Copyright (c) 1988 Regents of the University of California.
4# All rights reserved.
fff3e88c 5#
e6c5418d
KB
6# Redistribution and use in source and binary forms are permitted
7# provided that the above copyright notice and this paragraph are
8# duplicated in all such forms and that any documentation,
9# advertising materials, and other materials related to such
10# distribution and use acknowledge that the software was developed
11# by the University of California, Berkeley. The name of the
12# University may not be used to endorse or promote products derived
13# from this software without specific prior written permission.
14# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17#
0615633d 18# @(#)buildboot 1.5 (Berkeley) %G%
fff3e88c 19#
13c04c3c 20boot=dk2b
ef13a482
KB
21boottype=xfd
22bootmnt=/tmp/mini
fff3e88c
MK
23DISTROOT=/nbsd
24
25date
26umount /dev/${boot}
0615633d 27newfs -s 1500 ${boot} ${boottype}
fff3e88c 28fsck /dev/r${boot}
ef13a482
KB
29mount /dev/${boot} ${bootmnt}
30cp $DISTROOT/stand/copy ${bootmnt}
0615633d 31cp $DISTROOT/stand/vdformat ${bootmnt}
ef13a482 32cp $DISTROOT/boot ${bootmnt}
0615633d
KB
33#cp $DISTROOT/wcs ${bootmnt}
34#cp $DISTROOT/fppwcs ${bootmnt}
ef13a482
KB
35#cp $DISTROOT/poc ${bootmnt}
36#cp $DISTROOT/poc1 ${bootmnt}
37#cp $DISTROOT/poc2 ${bootmnt}
38#cp $DISTROOT/fppoc ${bootmnt}
fff3e88c
MK
39sync
40umount /dev/${boot}
41fsck /dev/${boot}
42date