home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / Misc / HigherEducationMailbox.mbox / Archives_provide_val_.attach / May_91 / workspace.365 < prev    next >
Text File  |  1991-05-21  |  2KB  |  38 lines

  1. {\rtf0\ansi{\fonttbl\f3\fswiss Helvetica;\f1\fmodern Courier;}
  2. \paperw9840
  3. \paperh6720
  4. \margl120
  5. \margr120
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f3\b0\i0\ul0\fs24 single disk copy\
  7. \
  8.  
  9. \b Q
  10. \b0 :   How do I invoke single disk copy?  (Or how should a 3rd party install their software?)\
  11. \
  12.  
  13. \b A
  14. \b0 :  single disk copy (SDC) is only implemented at the workspace level.  There are no UNIX commands that take advantage of the optimized copy.  The workspace figures out when it needs to invoke SDC with one exception.  It doesn't invoke it if you select the mount point in order to copy the entire disk.  You must select all of the items in the directory and drag them.  (The bug is that the WM tests for the device by checking the parent's device.  This is obviously wrong in the case of the mount point.)\
  15. \
  16. There are a couple of alternatives for 3rd party developers when releasing their software on a disk.\
  17. \
  18.     
  19. \i 1)  one directory or file to install\
  20.  
  21. \i0     The user should select the file or directory to be installed and copy it to the appropriate place.  
  22. \b This will destroy any previous versions
  23. \b0 .\
  24.     \
  25.  
  26. \i     2) multiple items to install or a script to be executed
  27. \i0 \
  28.     The best thing to do is to tar all of the files to be installed into one file and to compress that.  Then the user can copy this file and a script (using the workspace) to either 
  29. \b /tmp
  30. \b0  (this is on the swap disk in a non-SCSI system) or somewhere in their home directory if it isn't on an OD.  This takes advantage of SDC and will result in only a few swaps.  The only problem with this is that you need almost twice as much space on the target device [almost once to hold the compressed tar file, once to hold the actual application files] — though the compress helps.  The user will then run the script to uncompress and untar the files into the proper place and do any other installation that is needed. \
  31. \
  32. QA365\
  33. \
  34. Valid for 1.0 \
  35. Not valid for 2.0\
  36. \
  37.  
  38.