diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2019-02-21 22:12:49 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2019-02-21 22:12:49 +0000 |
commit | c3e3fd656db89f094e32b0690d7ae02ade1336a1 (patch) | |
tree | 449f2f4f3b7f80bd80e86ee732bed6ddb819c014 /usr.bin/rsync/rsync.5 | |
parent | 76d79d5a969470c254cdffe0eabedbd1a255d118 (diff) |
kristaps 7721288a1d170f4d789bf7a7b822f14f91f7bcb9
In order for GPL rsync(1) to work with --delete when openrsync is a
remote sender, we need to set the FLIST_TOP_LEVEL bit for all
top-level directories. This is because the GPL rsync(1) uses this bit
to determine which directories to scan for files for deletion.
Diffstat (limited to 'usr.bin/rsync/rsync.5')
-rw-r--r-- | usr.bin/rsync/rsync.5 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/rsync/rsync.5 b/usr.bin/rsync/rsync.5 index b675982c1bb..1696f085d0c 100644 --- a/usr.bin/rsync/rsync.5 +++ b/usr.bin/rsync/rsync.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rsync.5,v 1.10 2019/02/18 21:55:27 benno Exp $ +.\" $OpenBSD: rsync.5,v 1.11 2019/02/21 22:12:48 benno Exp $ .\" .\" Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 18 2019 $ +.Dd $Mdocdate: February 21 2019 $ .Dt RSYNC 5 .Os .Sh NAME @@ -251,6 +251,10 @@ The status byte may consist of the following bits and determines which of the optional fields are transmitted. .Pp .Bl -tag -compact -width Ds +.It 0x01 +A top-level directory. +(Only applies to directory files.) +If specified, the matching local directory is for deletions. .It 0x02 Do not send the file mode: it is a repeat of the last file's mode. .It 0x08 |