CD-rom > TK50?

Frank Wortner frank at croton.nyo.dec.com
Thu Jun 6 00:16:14 AEST 1991


Here's what I do.   Let's assume that you have a setld distribution on a
CD or on a disk.  It usually looks something like this:

-rw-r--r--  1 frank     1904640 Mar 13 19:35 DFRBASE300
-rw-r--r--  1 frank       40960 Mar 13 19:34 DFRDOC300
-rw-r--r--  1 frank       10240 Mar 13 19:36 DFRF77300
-rw-r--r--  1 frank       61440 Mar 13 19:35 DFRMAN300
-rw-r--r--  1 frank      389120 Mar 13 19:36 DFRUNSUP300
-rw-r--r--  1 frank      194560 Mar 13 19:34 OTMBASE100
drwxr-xr-x  2 root          512 Mar 20 09:25 instctrl

The first three physical files on a setld tape contain either bootstrap
code or just empty space.  The latter is normally true unless you are
distributing an operating system.  This means that Step One is "create
three empty files at the beginning of the tape."  Here's how:

	cd /tmp
	touch space
	tar cvf SPACE space
	for i in 1 2 3
	do
		dd if=SPACE of=/dev/nrmt0h bs=10k
	done

Now we have to install the installation control programs archive.

	cd /wherever/instctrl
	tar cvf /tmp/INSTCTRL *
	dd if=/tmp/INSTCTRL of=/dev/nrmt0h bs=10k

Now we install the subsets themselves.  Order is important, but happily
there is a file in the instctrl directory that tells us the correct order.

	cd ..
	for subset in `awk '{ print $3 }' instctrl/*.image`
	do
		dd if=${subset} of=/dev/nrmt0h bs=10k
	done

Congratulations, it's a setld tape!

	mt rew

All of this is based on personal observations and experience, and is not
endorsed by Digital.  It works for me, though.

					Frank



More information about the Comp.unix.ultrix mailing list