Re: dd of=blkdev seek=123 -> EINVAL ??

From: Matti Aarnio (matti.aarnio@zmailer.org)
Date: Sun Dec 16 2001 - 20:29:16 EST


On Mon, Dec 17, 2001 at 03:00:28AM +0200, Matti Aarnio wrote:
> With recent dd (4.0p) and 2.4.17rc1 an attempt to write (with DD)
> into a block-device yields EINVAL error.

  With dd 4.1.3 the problem no longer exists.
  That newer version does fstat() on file, and notices that
  it is, indeed, a device.

  End of problem.

  But why I am seeing mysterious total hangs of this kernel is
  another story, and probably related to memory allocation...

/Matti Aarnio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:16 EST