On Thu, Jan 10, 2008 at 02:17:43PM -0800, 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?
> 
> 
> 
> -Nix Fan.
> 

nostromo:tobiasu$ dd if=/dev/zero of=test bs=1 count=1 seek=$(bc -e
'512*(2^34-1)' -e quit) && ls -l test && uname -a
1+0 records in
1+0 records out
1 bytes transferred in 0.000 secs (3021 bytes/sec)
-rw-r--r--  1 tobiasu  tobiasu   8.0T Jan 10 23:46 test
OpenBSD nostromo.tmux.lan 4.2 GENERIC#638 i386


Maybe you want to be a little more specific?

Reply via email to