home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / NetBSD / Tools / dcp1.1.lha / README.dcp < prev   
Text File  |  1993-10-14  |  2KB  |  76 lines

  1. Version 1.1 of dcp                     Distribution is 14-Oct-93
  2. -----------------------------------------------------------------------
  3.  
  4. dcp - device copy program for AmigaDOS.
  5.  
  6. dcp is a program which replaces filetodev/devtofile.  It allows
  7. copying to/from devices and it determines automatically the types
  8. and sizes of the source and destination.
  9.  
  10.  
  11. ** WARNING **
  12.     If you don't know what this program does, DO NOT RUN IT.  It does
  13.     NOT deal with filesystems at all when manipulating a raw device.
  14.     If you only specify the destination name as a device, it will write
  15.     on the RAW device.  If you had a filesystem there, it would most
  16.     assuredly be corrupted.  For those that understand this warning, you
  17.     might want to take a look at the code anyway.  For those that do not
  18.     understand this warning, erase this package now.
  19.  
  20.  
  21. Command line options:
  22.     -b = specify buffer size
  23.     -m = specify maximum blocks to transfer
  24.     -ss = specify source block number at which to start
  25.     -ds = specify destination block number at which to start
  26.     -v = turn on verbose mode
  27.     -h = give more help
  28.  
  29.  
  30. Examples:
  31.     dcp dh1: ram:junk
  32.     Will copy the entire dh1: device to the file ram:junk
  33.  
  34.     dcp floppy df0:
  35.     Will copy the file floppy to device df0:
  36.  
  37.     dcp dh2: dh3:
  38.     Will copy device dh2: to device dh3:
  39.  
  40.     dcp myfile1 myfile2
  41.     Will copy file myfile1 to file myfile2 (same as AmigaDOS copy,
  42.         that partial blocks are not copied)
  43.  
  44.     dcp -ss 200 -m 8192 junk_file hddisk.device,3
  45.     Will copy 8192 blocks of file junk_file to device 3 of hddisk.device
  46.         starting at block 200 of the device
  47.  
  48.     dcp -m 1 scsi.device,0 -
  49.     Will dump the first block of SCSI unit 0 to stdout (the screen)
  50.  
  51. -----------------------------------------------------------------------
  52.  
  53. legal_information
  54.     Please read this first.  By using this product you automatically
  55.     agree to all terms and conditions stated in the above file.
  56.  
  57. dcp
  58.     The executable for AmigaDOS
  59.  
  60. dcp.c
  61.     Source code for dcp
  62.  
  63. README.dcp
  64.     You are already reading this (hopefully ;)
  65.  
  66.  
  67.  
  68. Changes since release 1.0 of dcp:
  69.     bug fixed - last buffered read would not be written
  70.     added new command line options: -m -ss -ds -v -h (see above)
  71.     added ability to handle device name, unit, and flags directly
  72.  
  73.  
  74. This package was written by Chris Hooper (cdh@mtu.edu).
  75. -----------------------------------------------------------------------
  76.