Franois Dupoux <[EMAIL PROTECTED]> writes:
| I am using convert and copy 4.0p (from the Redhat 6.2) and I have an invalid
| error message:
|
| When the seek parameter is too long, it prints that the output file is not
| valid.
|
| For example, if I use the command on a 1440 floppy disk:
|
| dd if=/dev/fd0 of=file.dat seek=100000000000
|
| I have "dd: file.dat: invalid parameter"
| We should have "dd: seek parameter is too big for the current input file"
|
| There is no error with "dd if=/dev/fd0 of=file.dat seek=10"

Thanks for the report.
I've fixed it so you'll get a better diagnostic:

  $ ./dd if=/dev/zero of=k seek=100000000000
  ./dd: advancing past 100000000000 blocks in output file `k': Invalid argument
  [Exit 1]

Given your comment above, that error message suggests you may have
meant to use `skip', not `seek'.  From dd's --help:

  seek=BLOCKS     skip BLOCKS obs-sized blocks at start of output
  skip=BLOCKS     skip BLOCKS ibs-sized blocks at start of input

Reply via email to