Displaying 6 results from an estimated 6 matches for "del_for_file".
2009 Oct 15
1
PATCH: --write-devices to allow synchronising to a block device
...p = fname;
fnamecmp_type = FNAMECMP_FNAME;
- if (statret == 0 && !S_ISREG(sx.st.st_mode)) {
+ if (statret == 0 && !(S_ISREG(sx.st.st_mode) || (write_devices &&
IS_DEVICE(sx.st.st_mode)))) {
if (delete_item(fname, sx.st.st_mode, del_opts |
DEL_FOR_FILE) != 0)
goto cleanup;
statret = -1;
diff -ru rsync-3.0.6/options.c rsync-3.0.6-writedev/options.c
--- rsync-3.0.6/options.c 2009-04-13 08:01:14.000000000 +1200
+++ rsync-3.0.6-writedev/options.c 2009-10-15 20:56:18.000000000 +1300
@@ -48,6 +48,7 @@...
2018 Jan 15
0
Rsync 3.1.3pre1 released
...line 448: error(252): argument of type "time_t *" is incompatible with parameter of type "const struct utimbuf *"
cc -c99 -I. -I. -I./zlib -I./popt -g -DHAVE_CONFIG_H -c hlink.c -o hlink.o
if (atomic_create(file, fname, NULL, oldname, MAKEDEV(0, 0), sxp, statret == 0 ? DEL_FOR_FILE : 0)) {
^
"/home/git/rsync/hlink.c", line 234: error(114): identifier "makedev" is undefined
cc -c99 -I. -I. -I./zlib -I./popt -g -DHAVE_CONFIG_H -c lib/compat.c -o lib/compat.o
return gettimeofday(tv);...
2018 Jan 15
1
[Bug 13224] New: New file handling causes compile issues for NonStop port.
...line 448: error(252): argument of type "time_t *"
is incompatible with parameter of type "const struct utimbuf *"
cc -c99 -I. -I. -I./zlib -I./popt -g -DHAVE_CONFIG_H -c hlink.c -o hlink.o
if (atomic_create(file, fname, NULL, oldname, MAKEDEV(0, 0), sxp,
statret == 0 ? DEL_FOR_FILE : 0)) {
^
"/home/git/rsync/hlink.c", line 234: error(114): identifier "makedev" is
undefined
cc -c99 -I. -I. -I./zlib -I./popt -g -DHAVE_CONFIG_H -c lib/compat.c -o
lib/compat.o
return gettimeofday(tv);...
2010 Jun 15
3
about rsyncing of block devices
...nerator(char *fname,
fnamecmp = fname;
fnamecmp_type = FNAMECMP_FNAME;
- if (statret == 0 && !S_ISREG(sx.st.st_mode)) {
+ if (statret == 0 && !(S_ISREG(sx.st.st_mode) || (copy_devices && IS_DEVICE(sx.st.st_mode)))) {
if (delete_item(fname, sx.st.st_mode, del_opts | DEL_FOR_FILE) != 0)
goto cleanup;
statret = -1;
@@ -1820,6 +1821,26 @@ static void recv_generator(char *fname,
goto cleanup;
}
+ /* On Linux systems (at least), st_size is typically 0 for devices.
+ * If so, try to determine the actual device size. */
+ if (IS_DEVICE(sx.st.st_mode) && sx...
2018 Jan 15
4
Rsync 3.1.3pre1 released
I have made rsync 3.1.3pre1 available for testing. This release has a
couple security fixes, a few new features, and a smattering of bug fixes.
Please test this new release and send email to the rsync mailing list with
any questions, comments, or bug reports.
To see a summary of the changes since 3.1.2, visit this link:
http://rsync.samba.org/ftp/rsync/src-previews/rsync-3.1.3pre1-NEWS
You
2018 Jan 15
4
Rsync 3.1.3pre1 released
I have made rsync 3.1.3pre1 available for testing. This release has a
couple security fixes, a few new features, and a smattering of bug fixes.
Please test this new release and send email to the rsync mailing list with
any questions, comments, or bug reports.
To see a summary of the changes since 3.1.2, visit this link:
http://rsync.samba.org/ftp/rsync/src-previews/rsync-3.1.3pre1-NEWS
You