don't use /mnt, use something easy
[unix-history] / usr / src / sys / tahoe / dist / buildboot
CommitLineData
fff3e88c
MK
1#!/bin/sh
2#
3# Copyright (c) 1986 Regents of the University of California.
4# All rights reserved. The Berkeley software License Agreement
5# specifies the terms and conditions for redistribution.
6#
ef13a482 7# @(#)buildboot 1.2 (Berkeley) %G%
fff3e88c 8#
ef13a482
KB
9boot=dk2a
10boottype=xfd
11bootmnt=/tmp/mini
fff3e88c
MK
12DISTROOT=/nbsd
13
14date
15umount /dev/${boot}
ef13a482 16newfs -s 1200 ${boot} ${boottype}
fff3e88c 17fsck /dev/r${boot}
ef13a482
KB
18mount /dev/${boot} ${bootmnt}
19cp $DISTROOT/stand/copy ${bootmnt}
20#cp $DISTROOT/stand/vdformat ${bootmnt}
21cp $DISTROOT/boot ${bootmnt}
22cp $DISTROOT/wcs ${bootmnt}
23cp $DISTROOT/fppwcs ${bootmnt}
24#cp $DISTROOT/poc ${bootmnt}
25#cp $DISTROOT/poc1 ${bootmnt}
26#cp $DISTROOT/poc2 ${bootmnt}
27#cp $DISTROOT/fppoc ${bootmnt}
fff3e88c
MK
28sync
29umount /dev/${boot}
30fsck /dev/${boot}
31date