summaryrefslogtreecommitdiff
path: root/src/dd.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-07-24 09:40:23 +0000
committerJim Meyering <jim@meyering.net>1999-07-24 09:40:23 +0000
commit8082ce8f5363bc33028d162d1c7a7e3b2c0950e9 (patch)
tree0fbc0153786829a9ad735471effc580a5ff51a42 /src/dd.c
parent7b5a5af07f4289bebabb4a176fc09a6f4ba6a7ab (diff)
downloadcoreutils-8082ce8f5363bc33028d162d1c7a7e3b2c0950e9.tar.xz
add to comment
Diffstat (limited to 'src/dd.c')
-rw-r--r--src/dd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dd.c b/src/dd.c
index 6e0da6b26..d4978248c 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -864,7 +864,12 @@ dd_copy (void)
page boundary to cover all bases. Note that due to the swab
algorithm, we must have at least one byte in the page before
the input buffer; thus we allocate 2 pages of slop in the
- real buffer. 8k above the blocksize shouldn't bother anyone. */
+ real buffer. 8k above the blocksize shouldn't bother anyone.
+
+ The page alignment is necessary on any linux system that supports
+ either the SGI raw I/O patch or Steven Tweedies raw I/O patch.
+ It is necessary when accessing raw (i.e. character special) disk
+ devices on Unixware or other SVR4-derived system. */
real_buf = (unsigned char *) xmalloc (input_blocksize
+ 2 * SWAB_ALIGN_OFFSET