From 77a6678c427db5ea15d6d0005a579f441277df06 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Thu, 25 Jan 2018 19:00:19 +0100 Subject: dd: add 'fullblock' iflag Adds a fullblock iflag for improved compatibility with GNU dd. The new iflag can be used to ensure that dd calls retrieve the expected amount of data when reading from pipes or unusual filesystems. function old new delta packed_usage 32249 32334 +85 dd_main 1582 1632 +50 static.iflag_words 12 22 +10 ------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 145/0) Total: 145 bytes Signed-off-by: Nicholas Clark Signed-off-by: Denys Vlasenko --- docs/posix_conformance.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/posix_conformance.txt b/docs/posix_conformance.txt index 8b9112020..cdf89b744 100644 --- a/docs/posix_conformance.txt +++ b/docs/posix_conformance.txt @@ -178,9 +178,10 @@ dd POSIX options: conv=noerror | yes | | conv=notrunc | yes | | conv=sync | yes | | +dd compatibility options: + conv=fsync | yes | | iflag=skip_bytes| yes | | -dd Busybox specific options: - conv=fsync + iflag=fullblock | yes | | df POSIX options option | exists | compliant | remarks -- cgit v1.2.3