]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: dd: document that the default block size is 512 bytes
authorJim Meyering <meyering@redhat.com>
Thu, 19 Feb 2009 11:35:58 +0000 (12:35 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 19 Feb 2009 11:45:18 +0000 (12:45 +0100)
* src/dd.c (usage): Document the default block size.
* doc/coreutils.texi (dd invocation): Document that the default
block size (bs, ibs, obs) is 512 bytes.
Reported by Petr Uzel.

THANKS
doc/coreutils.texi
src/dd.c

diff --git a/THANKS b/THANKS
index bedb01a7ad69a6a8c46fb8c8306e2c3c10df3c5b..f2fcd01757641b394bacc0fb46245eb7d130ae7b 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -446,6 +446,7 @@ Peter Moulder                       reiter@netspace.net.au
 Peter O'Gorman                      bug-coreutils@mlists.thewrittenword.com
 Peter Samuelson                     psamuels@sampo.creighton.edu
 Peter Seebach                       seebs@taniemarie.solon.com
+Petr Uzel                           petr.uzel@suse.cz
 Petter Reinholdtsen                 pere@hungry.com
 Phelippe Neveu                      pneveu@pcigeomatics.com
 Phil Richards                       phil.richards@vf.vodafone.co.uk
index 42234d36a8c48d570053120c3bee951febdb03a1..8d496ad375ecff2ec4de68b77aabf47c9e310f54 100644 (file)
@@ -7605,6 +7605,7 @@ bytes (or the size specified with @samp{seek=}).
 @cindex input block size
 Set the input block size to @var{bytes}.
 This makes @command{dd} read @var{bytes} per block.
+The default is 512 bytes.
 
 @item obs=@var{bytes}
 @opindex obs
@@ -7612,6 +7613,7 @@ This makes @command{dd} read @var{bytes} per block.
 @cindex output block size
 Set the output block size to @var{bytes}.
 This makes @command{dd} write @var{bytes} per block.
+The default is 512 bytes.
 
 @item bs=@var{bytes}
 @opindex bs
index 4604ced9ab88816f7033c3c633a2fc2a46ed61e6..6837b7b9092d96c766a63c431f9254af678a0253 100644 (file)
--- a/src/dd.c
+++ b/src/dd.c
@@ -463,16 +463,16 @@ Usage: %s [OPERAND]...\n\
       fputs (_("\
 Copy a file, converting and formatting according to the operands.\n\
 \n\
-  bs=BYTES        read and write BYTES bytes at a time\n\
+  bs=BYTES        read and write BYTES bytes at a time (also see ibs=,obs=)\n\
   cbs=BYTES       convert BYTES bytes at a time\n\
   conv=CONVS      convert the file as per the comma separated symbol list\n\
   count=BLOCKS    copy only BLOCKS input blocks\n\
-  ibs=BYTES       read BYTES bytes at a time\n\
+  ibs=BYTES       read BYTES bytes at a time (default: 512)\n\
 "), stdout);
       fputs (_("\
   if=FILE         read from FILE instead of stdin\n\
   iflag=FLAGS     read as per the comma separated symbol list\n\
-  obs=BYTES       write BYTES bytes at a time\n\
+  obs=BYTES       write BYTES bytes at a time (default: 512)\n\
   of=FILE         write to FILE instead of stdout\n\
   oflag=FLAGS     write as per the comma separated symbol list\n\
   seek=BLOCKS     skip BLOCKS obs-sized blocks at start of output\n\