aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-08-29 11:27:40 -0700
committerWayne Davison <wayned@samba.org>2009-08-29 16:18:57 -0700
commitc55fb5e1d639d72a16604c6e0153e19d04ef0d78 (patch)
tree59c320c5ed9c32b86b6142c2dc504b6be593d5ab /NEWS
parent8a21be11f08dca35e8db1bf7225975f90d66c997 (diff)
downloadandroid_external_rsync-c55fb5e1d639d72a16604c6e0153e19d04ef0d78.tar.gz
android_external_rsync-c55fb5e1d639d72a16604c6e0153e19d04ef0d78.tar.bz2
android_external_rsync-c55fb5e1d639d72a16604c6e0153e19d04ef0d78.zip
Create non-transferred files in a more atomic manner:
If a symlink, device, special-file, or hard-linked file is replacing an existing non-directory, the new file is created using a temporary filename and then renamed into place. Also changed the handling of a cluster of hard-linked symlinks/devices/special-files to always ensure the first item in the cluster is correct, since it doesn't really save any significant work to try to find an existing correct item later in the cluster to link with.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 6b1f109c..55f3f4e1 100644
--- a/NEWS
+++ b/NEWS
@@ -63,6 +63,12 @@ Changes since 3.0.4:
file. Also made explicitly-set uid/gid values no longer ignored by a
daemon that was not run by a super-user.
+ - When replacing a non-dir with a symlink/hard-link/device/special-file,
+ the update should now be done in an atomic manner.
+
+ - When backing up a file, try to hard-link the file into place so that the
+ upcoming replacement of the destination file will be atomic.
+
EXTRAS:
- Added an "instant-rsyncd" script to the support directory, which makes