On Thu, 10 Jan 2008, Unix Fan wrote:
Does OpenBSD's base utilities support 64 bit I/O?
I attempted to create a 8GB file using the "dd" application distributed with
OpenBSD 4.2, unfortunately it fails with:
dd: count: Result too large
Confused, I tried making the size smaller, and noticed it bails out at
exactly 4294967295 bytes, 4294967294 succeeds however..
dd: count: Undefined error: 0
What are my options?
Since you didnt show us your arguments to the command I have to guess.
The following command created a file called 8g:
$ dd if=/dev/zero of=8g bs=1048576 count=8192
8192+0 records in
8192+0 records out
8589934592 bytes transferred in 148.378 secs (57891904 bytes/sec)
-moj
-Nix Fan.