home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 13098 < prev    next >
Encoding:
Text File  |  1992-08-31  |  2.2 KB  |  46 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!usc!cs.utexas.edu!sun-barr!ames!nsisrv!climate!merritt
  3. From: merritt@climate.NoSubdomain.NoDomain (John H. Merritt)
  4. Subject: Re: 8mm and dd
  5. Message-ID: <1992Aug31.192332.26751@nsisrv.gsfc.nasa.gov>
  6. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  7. Nntp-Posting-Host: climate.gsfc.nasa.gov
  8. Organization: Climate and Radiation Branch
  9. References:  <715275893@anthrax.cs.duke.edu>
  10. Date: Mon, 31 Aug 1992 19:23:32 GMT
  11. Lines: 33
  12.  
  13. In article <715275893@anthrax.cs.duke.edu>, jwt@duke.cs.duke.edu (Jeffrey W. Tannehill) writes:
  14. |> 
  15. |>     We have an 8mm tape drive attached via a scsi cable to our SGI IRIS 4D.
  16. |> It seems to work as expected with the SGI backup and restore utilities and 
  17. |> with the BSD dump and restore commands.  However, whenever I try the dd
  18. |> command to write I get:
  19. |> 
  20. |> > dd if=/etc/motd of=/dev/tape
  21. Well, you were on the right track with the block size specification 
  22. in your later examples.  In my layman's term, the "Invalid argument"
  23. comes from the mismatch of the block size of the 'dd' statement and
  24. the block size of the output device;  I could not produce this error
  25. message for the variable block 8mm device.  
  26.  
  27. I have noticed that if the input file has an odd number of bytes and
  28. you output to the variable block device,  that the entire file will
  29. not be written; the last byte will be missing.  If, however, you use
  30. "bs=1" you will get the desired results (for the variable block 8mm device).
  31. I would expect "Invalid argument" when you try to write the wrong
  32. amount of bytes for the device -- fixed block device perhaps when the
  33. 'bs' is not correct. I always see "No space left on device" when the
  34. 'bs' is too small or you are trying to read a high density tape on a
  35. low density drive.
  36.  
  37. --
  38.         \___   \______   \__  \__  \___   \__
  39.         \___  \________  \__  \__  \____  \__
  40.         \___  \__   \__  \__  \__  \_____ \__
  41.         \___  \__   \__  \_______  \__ \__\__   merritt@climate.gsfc.nasa.gov
  42. \___    \___  \__   \__  \_______  \__  \____   
  43. \___    \___  \__   \__  \__  \__  \__   \___   "Yesterday I knew nothing,
  44.  \_________   \_______   \__  \__  \__    \__    Today I know that."
  45.   \______      \_____    \__  \__  \__     \_
  46.