search for: send_uid_list

Displaying 4 results from an estimated 4 matches for "send_uid_list".

2004 Oct 17
0
modify rsync: read files from a tar archive
...ne could use this feature. Mode of use: something like rsync --tar /filesystem/image/file.tar target/file/system this would not copy file.tar but would act like file.tar was unpacked in the source directory. As places to modify, I identified the send_file_list function (and, going from there, send_uid_list) and the send_files functions. I plan to look at the implementation of the --files-from option, at least for the implementation of send_file_list: just fetch the list of files from that tar file instead of a file. libtar would be used to access the tar file. Perhaps somebody has tried to do...
2003 Jul 24
0
(no subject)
...8,1058 ---- return flist; } + void send_batch_file_list( int f, struct file_list *flist ) + { + int n; + for (n = 0; n < flist->count; n++ ) { + send_file_entry(flist->files[n], f, 0); + } + send_file_entry(NULL, f, 0); + if (f != -1 && remote_version >= 15) { + send_uid_list(f); + } + if (f != -1 && remote_version >= 17 && !read_batch) { /* dw-added readbatch */ + extern int module_id; + write_int(f, lp_ignore_errors(module_id) ? 0 : io_error); + } + } struct file_list *recv_file_list(int f) { diff -E -B -c -r rsync-2.5.6/main.c rsync-2...
2003 Mar 22
2
[RFC] protocol version
I'm in the midst of coding a patch set for consideration that will bump the protocol version and have a couple of observations. The current minimum backwards-compatible protocol is 15 but we have code that checks for protocol versions as old as 12. If someone else doesn't beat me to it i'm considering cleaning out the pre-15 compatibility code. A backwards compatibility patch could
2003 Oct 18
0
Added functionality --compare-file and --compare-auto
...name); void send_token(int f,int token,struct map_struct *buf,OFF_T offset, @@ -232,6 +232,7 @@ int recv_token(int f,char **data); void see_token(char *data, int toklen); int main(int argc, char **argv); +int main(int argc, char **argv); void add_uid(uid_t uid); void add_gid(gid_t gid); void send_uid_list(int f); diff -aur rsync-2.5.6/receiver.c rsync-arh/receiver.c --- rsync-2.5.6/receiver.c Mon Jan 20 23:32:17 2003 +++ rsync-arh/receiver.c Fri Oct 17 09:57:48 2003 @@ -2,6 +2,7 @@ Copyright (C) 1996-2000 by Andrew Tridgell Copyright (C) Paul Mackerras 1996 + Copyright (C) 2003, Andy...