mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* dd of=blkdev seek=123 -> EINVAL ??
@ 2001-12-17  1:00 Matti Aarnio
  2001-12-17  1:29 ` Matti Aarnio
  0 siblings, 1 reply; 2+ messages in thread
From: Matti Aarnio @ 2001-12-17  1:00 UTC (permalink / raw)
  To: linux-kernel

With recent dd and 2.4.17rc1 an attempt to write (with DD)
into a block-device yields  EINVAL error.

Doing   strace   shows that it comes from   ftruncate64()
on the opened device.

Should there be some other error code ?   EBLKDEV ?
Or is the dd (4.0p) at fault, and it should either
not ask for the ftruncate*() at all, or ignore its error ?

/Matti Aarnio

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-18 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-17  1:00 dd of=blkdev seek=123 -> EINVAL ?? Matti Aarnio
2001-12-17  1:29 ` Matti Aarnio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®