How to recover programs from install disks

Derek E. Terveer det at hawkmoon.MN.ORG
Sat Jun 2 06:44:11 AEST 1990


In article <1990May31.153301.2562 at monymsys.uucp> david at monymsys.uucp (David Kozinn) writes:
> While playing around with the accounting facilities on my Sys V/386 system, I
> managed to clobber /usr/lib/acct/acctcon2, [....]  and a
> cpio on the disks just seems to show a file called "diskdata" that apparently
> contains the name of the disk. Does anyone out there know of any way to
> recover this one file? Thanks.

The floppies are broken up into, essentially, two sections:  a label track and
the data tracks (note plural vs. singular).  The first track on the install
disks is used as a label and is accessed by the device /dev/rdsk/f0q15dt, where
the trailing 't' indicates the entire disk "total?".  To access the data after
the first track (i.e., tracks 1..79), use the device /dev/rdsk/f0q15d.

Since the first track is also generally used as the boot track on floppies
capable of booting, i frequently create the following links in /dev/rdsk and
/dev/dsk/:

ln f0q15dt f0		#default format for floppy drive 0 is 1.2MB
ln f0q15d  f0-boot	#1.2MB drive "minus" the boot track

derek


-- 
Derek Terveer		det at hawkmoon.MN.ORG



More information about the Comp.unix.microport mailing list