Commit | Line | Data |
---|---|---|
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 | # |
20 | dist=/sys/tahoedist | |
fff3e88c | 21 | miniroot=dk4a |
99c19d87 | 22 | minimnt=/tmp/mini |
fff3e88c MK |
23 | # |
24 | date | |
25 | umount /dev/${miniroot} | |
26 | newfs -s 4096 ${miniroot} | |
27 | fsck /dev/r${miniroot} | |
9938a3da | 28 | mount /dev/${miniroot} ${minimnt} |
f724f618 KB |
29 | cd ${minimnt}; sh ${dist}/get |
30 | cd ${dist}; sync | |
fff3e88c MK |
31 | umount /dev/${miniroot} |
32 | fsck /dev/${miniroot} | |
33 | date |