home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / uucp / 2532 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  2.2 KB

  1. Path: sparky!uunet!spool.mu.edu!think.com!enterpoop.mit.edu!cambridge-news.cygnus.com!airs!comton.airs.com!ian
  2. From: ian@airs.com (Ian Lance Taylor)
  3. Newsgroups: comp.mail.uucp
  4. Subject: Re: multi-hop uucp implies -C?
  5. Message-ID: <6071@comton.airs.com>
  6. Date: 7 Jan 93 01:48:29 GMT
  7. References: <1993Jan6.012324.18823@allegra.att.com>
  8. Organization: Infinity Development, Waltham, MA
  9. Lines: 38
  10.  
  11. mp@allegra.att.com (Mark Plotnick) writes:
  12.  
  13. >Under SunOS 4.1.1, "uucp x host1!host2!y" generates a command that
  14. >starts with "uux -C".  Is the "-C" really necessary?  We have a user
  15. >here who tried to send out 100 copies of a 6MB file via multi-hop uucp,
  16. >and our disks didn't have anywhere near 600MB of space.  Would it be OK
  17. >if uucp gave uux the -C option only if uucp was itself given the -C
  18. >option?
  19.  
  20. If you mean that uucp did an exec of "uux -C", then the -C was
  21. certainly not necessary (although on some systems uucp does a -C by
  22. default, so passing -C to uux by default would be correct; I don't
  23. know about SunOS).
  24.  
  25. However, if you mean that the above uucp command somehow requested a
  26. remote execution of ``uux -C'' on host1, then the -C is definitely
  27. necessary.  If uux on host1 was invoked without -C, then the file
  28. would have to exist somewhere for uux to copy it.  But if that were
  29. the case, who would delete it?
  30.  
  31. >P.S. has there been any work toward implementing a sort of
  32. >multicasting, in which a single uucp command line can specify that a
  33. >file should be copied to multiple destinations?  In the above case,
  34. >virtually all the 100 copies were being sent to the same "host1", and it
  35. >would be a win to just send the 6MB once and then have host1 execute a
  36. >uucp command to send to the 100 destinations.
  37.  
  38. This would be fairly straightforward.  You could make
  39.     uucp file --to host1!host3!file1 --to host1!host2!file2
  40. execute the following on host1
  41.     uucp -C file --to host3!file1 --to host2!file2
  42. Of course, the uucp running on host1 would have to recognize the --to
  43. flag.
  44. -- 
  45. Ian Taylor | ian@airs.com | First to identify quote wins free e-mail message:
  46. `` `The world can grow into an ordered place where all are equal before
  47.     the law.  And the law is just.  Honest.  Without graft.'
  48.    `Is that so important if you are starving?' ''
  49.