automatic priority calculation with qbgetpri; flags-handling fixes
[unix-history] / usr / src / sys / tahoe / dist / buildmini
CommitLineData
f724f618 1#!/bin/sh -
fff3e88c 2#
f724f618
KB
3# Copyright (c) 1988 Regents of the University of California.
4# All rights reserved.
fff3e88c 5#
f724f618 6# Redistribution and use in source and binary forms are permitted
16b6eaa3
KB
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.
fff3e88c 17#
99c19d87 18# @(#)buildmini 1.5 (Berkeley) %G%
f724f618
KB
19#
20dist=/sys/tahoedist
fff3e88c 21miniroot=dk4a
99c19d87 22minimnt=/tmp/mini
fff3e88c
MK
23#
24date
25umount /dev/${miniroot}
26newfs -s 4096 ${miniroot}
27fsck /dev/r${miniroot}
9938a3da 28mount /dev/${miniroot} ${minimnt}
f724f618
KB
29cd ${minimnt}; sh ${dist}/get
30cd ${dist}; sync
fff3e88c
MK
31umount /dev/${miniroot}
32fsck /dev/${miniroot}
33date