bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16409: Some amusing results with dd


From: Pádraig Brady
Subject: bug#16409: Some amusing results with dd
Date: Fri, 10 Jan 2014 18:22:46 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

tag 16409 notabug
close 16409
stop

You're hitting various type and system limits.
In general it's best to keep bs=1 and increase the seek size to get this 
functionality portably.
Newer versions of GNU dd though will handle the count=0 case better and not 
alloc since:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commit;h=8901e010f
Note also the truncate command which is a more direct means to get this 
functionality.

thanks,
Pádraig.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]