xref: /original-bsd/sys/tahoe/dist/buildmini (revision 5fd6b0d9)
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#	@(#)buildmini	1.5 (Berkeley) 07/28/88
19#
20dist=/sys/tahoedist
21miniroot=dk4a
22minimnt=/tmp/mini
23#
24date
25umount /dev/${miniroot}
26newfs -s 4096 ${miniroot}
27fsck /dev/r${miniroot}
28mount /dev/${miniroot} ${minimnt}
29cd ${minimnt}; sh ${dist}/get
30cd ${dist}; sync
31umount /dev/${miniroot}
32fsck /dev/${miniroot}
33date
34