The branch, master has been updated
  discards  4cc3b9830134316c8c249e471126424c64fa2fc1 (commit)
       via  9e9d33a2 Added the --write-devices option.
      from  4cc3b983 Added the --write-devices option.

https://git.samba.org/?p=rsync.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 9e9d33a2dbea31cae0fa0b74d7765e8e7899375d
Author: Wayne Davison <way...@samba.org>
Date:   Sun Apr 5 11:21:02 2020 -0700

    Added the --write-devices option.
    
    This is a fleshed out version of the old one in the patches repo with
    documentation & proper handling of the implied --inplace option for a
    daemon's option-rufusing considerations. I ommitted the -w short option
    as I would hate for someone to turn this on accidentally.

-----------------------------------------------------------------------

Summary of changes:
 options.c |  2 +-
 rsync.yo  | 14 +++++---------
 2 files changed, 6 insertions(+), 10 deletions(-)


Changeset truncated at 500 lines:

diff --git a/options.c b/options.c
index 11dbe96d..d179f475 100644
--- a/options.c
+++ b/options.c
@@ -722,7 +722,7 @@ void usage(enum logcode F)
 #else
   rprintf(F,"     --preallocate           pre-allocate dest files on remote 
receiver\n");
 #endif
-  rprintf(F,"     --write-devices         write to (and read from) devices as 
files\n");
+  rprintf(F,"     --write-devices         write to devices as files (implies 
--inplace)\n");
   rprintf(F," -n, --dry-run               perform a trial run with no changes 
made\n");
   rprintf(F," -W, --whole-file            copy files whole (without delta-xfer 
algorithm)\n");
   rprintf(F,"     --checksum-choice=STR   choose the checksum algorithms\n");
diff --git a/rsync.yo b/rsync.yo
index 1da5afc6..40b3fe7e 100644
--- a/rsync.yo
+++ b/rsync.yo
@@ -384,7 +384,7 @@ to the detailed description below for a complete 
description.  verb(
      --fake-super            store/recover privileged attrs using xattrs
  -S, --sparse                turn sequences of nulls into sparse blocks
      --preallocate           allocate dest files before writing
-     --write-devices         write to (and read from) devices as files
+     --write-devices         write to devices as files (implies --inplace)
  -n, --dry-run               perform a trial run with no changes made
  -W, --whole-file            copy files whole (w/o delta-xfer algorithm)
      --checksum-choice=STR   choose the checksum algorithms
@@ -1222,17 +1222,13 @@ such as named sockets and fifos.
 
 dit(bf(-D)) The bf(-D) option is equivalent to bf(--devices) bf(--specials).
 
-dit(bf(--write-devices)) This tells rsync to treat a device as though it were
-a regular file, allowing both the writing of file data into a device on the
-receiving side and the reading of the device's data on the sending side. It
-does not require that both sides have the same device status, so a file's
-data can be transferred into a device and a device's data can be extracted
-into a file.
+dit(bf(--write-devices)) This tells rsync to treat a device on the receiving
+side as a regular file, allowing the writing of file data into a device.
 
 This option implies the bf(--inplace) option.
 
-Be careful using this, as you should know what devices are present on both
-sides of the transfer, especially if running rsync as root.
+Be careful using this, as you should know what devices are present on the
+receiving side of the transfer, especially if running rsync as root.
 
 This option is refused by an rsync daemon.
 


-- 
The rsync repository.

_______________________________________________
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs

Reply via email to