Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ diskcp(C) — OpenDesktop 1.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cmp(C)

dd(C)

format(C)

sum(C)


     DISKCP(C)                            UNIX System V



     Name
          diskcp, diskcmp - copies or compares floppy disks


     Syntax
          diskcp[-f][-d][-r][-s][-u][-48ds9][-96ds9][-96ds15][-
          135ds9][-135ds18]
          diskcmp[-d][-s][-48ds9][-96ds9][-96ds15][-135ds9][-135ds18]



     Description
          diskcp is used to make an image (exact  copy)  of  a  source
          floppy  disk  on a target floppy disk.  On machines with one
          floppy drive diskcp temporarily transfers the image  to  the
          hard  disk  until  a  ``target'' floppy is inserted into the
          floppy drive.  On machines with  two  floppy  drives  diskcp
          immediately  places  the image of the source floppy directly
          on the target floppy.

          diskcmp functions similarly  to  diskcp.   It  compares  the
          contents  of  one  floppy disk with the contents of a second
          floppy disk using the cmp utility.

          The options are:

          -f   Format the target  floppy  disk  before  the  image  is
               copied (diskcp only).

          -d   The computer has dual floppy drives. diskcp copies  the
               image directly onto the target floppy.

          -s   Uses sum(C) to compare the contents of the  source  and
               target  floppies;  gives an error message if the two do
               not match.

          -r   Uses second floppy drive as source drive,

          -u   Prints usage message.

          -48ds9
               This setting is for low density 48tpi floppies.  It  is
               the default setting.

          -96ds9
               This setting is for high density 96tpi floppies.

          -96ds15
               This setting is for quad density 96tpi floppies.

          -135ds9
               This setting  is  for  high  density  135tpi  3.5  inch
               floppies.

          -135ds18
               This setting  is  for  quad  density  135tpi  3.5  inch
               floppies.

          When using the -96ds9 and -96ds15 options of diskcp  without
          the  -f option, if the first target disk is unformatted, the
          program will note it, format  it  and  make  the  copy.   If
          another  copy  is  requested  and another unformatted target
          disk inserted, diskcp exits with a ``System error.''   Quit,
          format the floppy, and reinvoke diskcp to make another copy.


     Examples
          To make a copy of a floppy, place the source floppy  in  the
          drive and type:
               diskcp

          When diskcp is finished copying to the hard disk, it prompts
          you  to  insert  the  target  floppy  in  the drive.  If you
          specify the -f flag when you invoke  diskcp  ,  the  program
          formats  the  target  floppy.   When  the  copy is finished,
          diskcp asks if you would like to make another  copy  of  the
          same  source  disk.   If you enter `n', it asks if you would
          like to copy another source disk.

          Specify the -d flag on the command  line  if  you  have  two
          floppy drives:

               diskcp -d


     Notes
          If diskcp encounters a write error while copying the  source
          image  to  the target disk, it formats the disk and tries to
          write the source image again.  This happens most often  when
          an  unformatted  floppy  is  used  and  the  -f  flag is not
          specified.


     Files
          /usr/bin/diskcp
          /usr/bin/diskcmp
          /tmp/disk????


     See Also
          cmp(C), dd(C), format(C), sum(C)


     Value Added
          diskcmp and diskcp are extensions of AT&T System V  provided
          by the Santa Cruz Operation.


     (printed 2/15/90)                                  DISKCP(C)





































































































































































































































































































































































































































































































Typewritten Software • bear@typewritten.org • Edmonds, WA 98026