From: boatwright@lgsh.logica.com (Antoine Boatwright)
Subject: Q:The 'dd' command
Date: 1995/07/06 [thread overview]
Message-ID: <boatwright.6.000B3623@lgsh.logica.com> (raw)
I have the following query:
I am downloading some information from half inch tapes using the 'dd' command.
(i.e dd if=/dev/rmt2l of=$dest_file bs=$block_size ).
Once I have used the dd command I check the file using the 'od' command (i.e.
od -x -w$block_size $file)
I seem to have encountered something odd which I can't explain. Here is what
happens.
I issue the 'dd' command with the block size I know to be correct (for
example 662)
Then use 'od' to verify the contents and note that the file is incorrect
because each block should start with the same ASCII characters. (Note to see
it correctly you need to make sure that your screen does not wrap lines)
Now if I do the 'dd' command with blocksize 9999 which I know to be incorrect
and verify using 'od', I can deduce from the octal listing on the left of the
printout that the blocksize is in fact 662.
WHY?
Bewildered in Leatherhead.
reply other threads:[~1995-07-06 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox