Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!csadfa.cs.adfa.oz.au!wkt From: wkt@csadfa.cs.adfa.oz.au (Warren Toomey) Subject: Loading 386BSD one floppy at a time Message-ID: <1992Oct6.045204.26753@sserve.cc.adfa.oz.au> Sender: news@sserve.cc.adfa.oz.au Organization: Australian Defence Force Academy, Canberra, Australia Date: Tue, 6 Oct 1992 04:52:04 GMT I'm sure someone has sent this sort of thing in before, but... Here's a short shellscript called mloadsrc, which saves you from having to mread bin01.* (or src01.* or etc01.*) before uncpio'ing them. For example, to see what's on the src distribution, you would do: % sh mloadsrc | uncompress | cpio -ivt ---- cut for mloadsrc --- #!/bin/sh mkdir /tmp/mtmp 2> /dev/null rm -f /tmp/mtmp/* while true do echo "Insert next disk now" > /dev/tty sleep 10 mread 'A:*.*' /tmp/mtmp > /dev/tty cat /tmp/mtmp/* rm -f /tmp/mtmp/* done ---- cut for mloadsrc --- Warren Toomey