lkml.org 
[lkml]   [2001]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdd of=blkdev seek=123 -> EINVAL ??
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
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:14    [W:0.102 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site