xref: /original-bsd/sys/tahoe/dist/buildboot (revision 74d2fb93)
1#!/bin/sh -
2#
3# Copyright (c) 1988 Regents of the University of California.
4# All rights reserved.
5#
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#
18#	@(#)buildboot	1.4 (Berkeley) 07/29/88
19#
20boot=dk2b
21boottype=xfd
22bootmnt=/tmp/mini
23DISTROOT=/nbsd
24
25date
26umount /dev/${boot}
27newfs -s 1200 ${boot} ${boottype}
28fsck /dev/r${boot}
29mount /dev/${boot} ${bootmnt}
30cp $DISTROOT/stand/copy ${bootmnt}
31#cp $DISTROOT/stand/vdformat ${bootmnt}
32cp $DISTROOT/boot ${bootmnt}
33cp $DISTROOT/wcs ${bootmnt}
34cp $DISTROOT/fppwcs ${bootmnt}
35#cp $DISTROOT/poc ${bootmnt}
36#cp $DISTROOT/poc1 ${bootmnt}
37#cp $DISTROOT/poc2 ${bootmnt}
38#cp $DISTROOT/fppoc ${bootmnt}
39sync
40umount /dev/${boot}
41fsck /dev/${boot}
42date
43