* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
"@(#) Copyright (c) 1980 Regents of the University of California.\n\
static char sccsid
[] = "@(#)installboot.c 6.2 (Berkeley) %G%";
printf("Usage: installboot bootblock bootprog device\n");
read(fd
, bootimage
, DEV_BSIZE
);
read(fd
, &bootimage
[DEV_BSIZE
], BBSIZE
- DEV_BSIZE
);
write(fd
, bootimage
, BBSIZE
);