Annotation of 43BSDReno/sys/tahoedist/buildboot, revision 1.1.1.1

1.1       root        1: #!/bin/sh -
                      2: #
                      3: # Copyright (c) 1990 The Regents of the University of California.
                      4: # All rights reserved.
                      5: #
                      6: # Redistribution and use in source and binary forms are permitted provided
                      7: # that: (1) source distributions retain this entire copyright notice and
                      8: # comment, and (2) distributions including binaries display the following
                      9: # acknowledgement:  ``This product includes software developed by the
                     10: # University of California, Berkeley and its contributors'' in the
                     11: # documentation or other materials provided with the distribution and in
                     12: # all advertising materials mentioning features or use of this software.
                     13: # Neither the name of the University nor the names of its contributors may
                     14: # be used to endorse or promote products derived from this software without
                     15: # specific prior written permission.
                     16: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
                     17: # WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
                     18: # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     19: #
                     20: #      @(#)buildboot   1.6 (Berkeley) 7/4/90
                     21: #
                     22: 
                     23: boot=dk2b                      # partition to build bootstrap FS on
                     24: boottype=xfd                   # type of ${boot} partition
                     25: bootmnt=/tmp/mini              # mount point
                     26: DISTROOT=/nbsd                 # place to get programs from
                     27: 
                     28: date
                     29: umount /dev/${boot}
                     30: newfs -s 1500 ${boot} ${boottype}
                     31: fsck /dev/r${boot}
                     32: 
                     33: mkdir ${bootmnt};
                     34: mount /dev/${boot} ${bootmnt}
                     35: 
                     36: # HCX-9 programs (HCX-7 too?; not positive this is right, either)
                     37: #cp -p $DISTROOT/stand/copy ${bootmnt}
                     38: #cp -p $DISTROOT/stand/vdformat ${bootmnt}
                     39: #cp -p $DISTROOT/boot ${bootmnt}
                     40: # END HCX-9 programs
                     41: 
                     42: # TAHOE programs
                     43: cp -p $DISTROOT/stand/copy ${bootmnt}
                     44: cp -p $DISTROOT/stand/vdformat ${bootmnt}
                     45: cp -p $DISTROOT/boot ${bootmnt}
                     46: cp -p $DISTROOT/wcs ${bootmnt}
                     47: cp -p $DISTROOT/fppwcs ${bootmnt}
                     48: # END TAHOE programs
                     49: 
                     50: sync
                     51: umount /dev/${boot}
                     52: fsck /dev/r${boot}
                     53: date

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.