The Samba-Bugzilla – Attachment 4934 Details for
Bug 6881
--bwlimit option uses KiB/s, but is documented as (what amounts to) kB/s
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
A patch to change the documentation to use "KiB/s" and "kibibytes per second".
rsync-bwlimit-kibibytes-man-page.diff (text/x-diff), 4.00 KB, created by
Richard Laager
on 2009-11-09 12:54:50 UTC
(
hide
)
Description:
A patch to change the documentation to use "KiB/s" and "kibibytes per second".
Filename:
MIME Type:
Creator:
Richard Laager
Created:
2009-11-09 12:54:50 UTC
Size:
4.00 KB
patch
obsolete
>diff --git a/options.c b/options.c >index 546f63d..22d07bc 100644 >--- a/options.c >+++ b/options.c >@@ -775,7 +775,7 @@ void usage(enum logcode F) > rprintf(F," --log-file-format=FMT log updates using the specified FMT\n"); > rprintf(F," --password-file=FILE read daemon-access password from FILE\n"); > rprintf(F," --list-only list the files instead of copying them\n"); >- rprintf(F," --bwlimit=KBPS limit I/O bandwidth; KBytes per second\n"); >+ rprintf(F," --bwlimit=KiB/s limit I/O bandwidth; kibibytes per second\n"); > rprintf(F," --write-batch=FILE write a batched update to FILE\n"); > rprintf(F," --only-write-batch=FILE like --write-batch but w/o updating destination\n"); > rprintf(F," --read-batch=FILE read a batched update from FILE\n"); >@@ -1029,7 +1029,7 @@ static void daemon_usage(enum logcode F) > rprintf(F,"\n"); > rprintf(F,"Usage: rsync --daemon [OPTION]...\n"); > rprintf(F," --address=ADDRESS bind to the specified address\n"); >- rprintf(F," --bwlimit=KBPS limit I/O bandwidth; KBytes per second\n"); >+ rprintf(F," --bwlimit=KiB/s limit I/O bandwidth; kibibytes per second\n"); > rprintf(F," --config=FILE specify alternate rsyncd.conf file\n"); > rprintf(F," -M, --dparam=OVERRIDE override global daemon config parameter\n"); > rprintf(F," --no-detach do not detach from the parent\n"); >diff --git a/rsync.yo b/rsync.yo >index 8a25a8c..114070b 100644 >--- a/rsync.yo >+++ b/rsync.yo >@@ -430,7 +430,7 @@ to the detailed description below for a complete description. verb( > --log-file-format=FMT log updates using the specified FMT > --password-file=FILE read daemon-access password from FILE > --list-only list the files instead of copying them >- --bwlimit=KBPS limit I/O bandwidth; KBytes per second >+ --bwlimit=KiB/s limit I/O bandwidth; kibibytes per second > --write-batch=FILE write a batched update to FILE > --only-write-batch=FILE like --write-batch but w/o updating dest > --read-batch=FILE read a batched update from FILE >@@ -446,7 +446,7 @@ Rsync can also be run as a daemon, in which case the following options are > accepted: verb( > --daemon run as an rsync daemon > --address=ADDRESS bind to the specified address >- --bwlimit=KBPS limit I/O bandwidth; KBytes per second >+ --bwlimit=KiB/s limit I/O bandwidth; kibibytes per second > --config=FILE specify alternate rsyncd.conf file > -M, --dparam=OVERRIDE override global daemon config parameter > --no-detach do not detach from the parent >@@ -2273,8 +2273,8 @@ avoid this problem, either specify the bf(--no-dirs) option (if you don't > need to expand a directory's content), or turn on recursion and exclude > the content of subdirectories: bf(-r --exclude='/*/*'). > >-dit(bf(--bwlimit=KBPS)) This option allows you to specify a maximum >-transfer rate in kilobytes per second. This option is most effective when >+dit(bf(--bwlimit=KiB/s)) This option allows you to specify a maximum >+transfer rate in kibibytes per second. This option is most effective when > using rsync with large files (several megabytes and up). Due to the nature > of rsync transfers, blocks of data are sent, then if rsync determines the > transfer was too fast, it will wait before sending the next data block. The >@@ -2387,7 +2387,7 @@ allows you to specify a specific IP address (or hostname) to bind to. This > makes virtual hosting possible in conjunction with the bf(--config) option. > See also the "address" global option in the rsyncd.conf manpage. > >-dit(bf(--bwlimit=KBPS)) This option allows you to specify a maximum >+dit(bf(--bwlimit=KiB/s)) This option allows you to specify a maximum > transfer rate in kilobytes per second for the data the daemon sends. > The client can still specify a smaller bf(--bwlimit) value, but their > requested value will be rounded down if they try to exceed it. See the
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6881
: 4934