home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!isc-br!odin!ricks
- From: ricks@odin.isc-br.com (Rick Schaeffer 99)
- Newsgroups: comp.unix.amiga
- Subject: Re: How do I copy the 2.1 Install tape ?
- Message-ID: <1992Aug18.050621.29625@isc-br.isc-br.com>
- Date: 18 Aug 92 05:06:21 GMT
- References: <1992Aug18.015629.8276@catfish.az05.bull.com>
- Sender: news@isc-br.isc-br.com (news user)
- Organization: ISC-Bunker Ramo, An Olivetti Company
- Lines: 96
- Nntp-Posting-Host: odin.isc-br.com
-
- In article <1992Aug18.015629.8276@catfish.az05.bull.com> abryson@cibecue.az05.bull.com (Aaron Bryson) writes:
- >What's the best way to copy the Install tape ? - I've got enough space to
- >shunt the 30-odd files off onto disk, but I can't seem to create a tape
- >that the package utilities can read.
- >
- >Can someone post a simple script I can use ?
-
- No problem. Here is a shar of the files I use to copy the tape.
-
- # This is a shell archive. Remove anything before this line,
- # then unpack it by saving it in a file and typing "sh file".
- #
- # This archive contains:
- # README cpdist dtdist seglist
- #
-
- echo x - README
- cat >README <<'@EOF'
- These three files let you copy the Amiga Unix 2.1 Distribution tape.
- cpdist: A little shell script that reads the tape and creates a
- bunch of files...one for each tape segment.
-
- dtdist: A little shell script that does the opposite...ie: re-create
- the distribution tape
-
- seglist: A file containing the names used for each of the segments
- on the tape
- @EOF
-
- chmod 666 README
-
- echo x - cpdist
- cat >cpdist <<'@EOF'
- :
- for name in `cat seglist`
- do
- echo "Working on $name"
- dd if=/dev/rmt/4n of=$name bs=32k
- done
- @EOF
-
- chmod 774 cpdist
-
- echo x - dtdist
- cat >dtdist <<'@EOF'
- :
- for name in `cat seglist`
- do
- echo "Working on $name"
- dd if=$name of=/dev/rmt/4n bs=32k
- done
- @EOF
-
- chmod 774 dtdist
-
- echo x - seglist
- cat >seglist <<'@EOF'
- amixlist
- unixcont
- core
- bsd
- Cdev
- lp
- man
- net
- public
- sysadm
- terminfo
- text
- uucp
- Xcore
- Xbasic
- olcore
- Xtras
- Xdev
- oldev
- conf
- emacs
- games
- amigasrc
- emacsrc
- gnusrc
- gnusrc2
- pubsrc
- Xsource
- X11r5src
- @EOF
-
- chmod 644 seglist
-
- exit 0
- --
- Rick Schaeffer UUCP: uunet!isc-br.isc-br.com!ricks
- ISC-Bunker Ramo ricks@isc-br.isc-br.com
- Box TAF-C8 Phone: (509)927-5114
- Spokane, WA 99220 Home: (509)928-3533
-