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