search for: delete_list

Displaying 11 results from an estimated 11 matches for "delete_list".

2006 Aug 07
2
Getting an array of ids from form checkboxes?
Is it possible to set up a list of checkboxes so that the form parameters are given in an array (eg {"delete_list" => [3,6,7]}) ? At the moment I''m using <%= check_box_tag "delete_list[#{post.id}]" %> ...which gives parameters looking like {"delete_list" => {"3" => "1", "6" => "1", "7" => 1}}, which see...
2003 Mar 12
1
patch: typo's and gcc warnings
...ceiver.c rsync-2.5.6/receiver.c --- orig/rsync-2.5.6/receiver.c 2003-01-21 00:32:17.000000000 +0100 +++ rsync-2.5.6/receiver.c 2003-03-10 16:28:10.000000000 +0100 @@ -55,8 +55,8 @@ if (link_stat(f_name(flist->files[j]), &st)) return 1; for (i=0;i<dlist_len;i++) { - if (st.st_ino == delete_list[i].inode && - st.st_dev == delete_list[i].dev) + if (st.st_ino == (unsigned long)delete_list[i].inode && + st.st_dev == (unsigned long)delete_list[i].dev) return 1; }
2016 Aug 26
0
[Bug 1084] New: display_proc_conntrack_stats missing data
...irst is performing most of the operations, it can be especially bad. In the example below there are many instances where the higher values from the second processor are unaccounted for. cat /proc/net/stat/nf_conntrack; sudo -u nobody conntrack -S entries searched found new invalid ignore delete delete_list insert insert_failed drop early_drop icmp_error expect_new expect_create expect_delete search_restart 0000014b 004cfa4f 04e9e53e 0049ce54 0000f543 006fd72d 005cfde7 0045abc6 0032596c 00000007 00000000 00000000 0000023f 00000001 00000002 00000001 00000000 0000014b 0328b028 38a17c68 03934d68 000d...
2001 Dec 08
0
Should --write-batch always sync the target tree?
...to use the rsync+ features (but I could be wrong, of course). --- receiver.c 7 May 2001 06:59:37 -0000 1.33 +++ receiver.c 7 Dec 2001 02:16:04 -0000 @@ -36,6 +36,7 @@ extern char *compare_dest; extern int make_backups; extern char *backup_suffix; +extern int write_batch; static struct delete_list { dev_t dev; @@ -357,6 +358,12 @@ if (!am_server) { log_transfer(file, fname); } + continue; + } + + if (write_batch) { + /* drain */ +...
2005 Feb 27
1
Using --files-from but also having rsync delete...
I am using rsync with --files-from to specify an exclusive list of files for rsync to back up to an rsync server. I give rsync the list using find to spit out a list of files that are 2 or more days old from a list of files that can change. The backup of the files works perfectly, however I realized that once the files are stored on the backup server, I have no way of informing rsync the next
2009 Apr 01
0
[ANNOUNCE] conntrack-tools 0.9.12 released
...tics in a more human-friendly way (instead of cat'ting /proc/net/stat/nf_conntrack): # conntrack -S entries 9 searched 22 found 98143 new 1844 invalid 2 ignore 120 delete 1872 delete_list 1144 insert 1116 insert_failed 0 drop 0 early_drop 0 icmp_error 0 expect_new 0 expect_create 0 expect_delete 0 = userspace daemon: conntrackd = * Add the new generic infrastructure...
2001 Nov 13
2
direct write patch
...write/receiver.c --- rsync-2.4.6/receiver.c Thu Mar 30 06:23:03 2000 +++ rsync-2.4.6-direct-write/receiver.c Sun Nov 11 11:14:43 2001 @@ -34,6 +34,7 @@ extern char *tmpdir; extern char *compare_dest; extern int make_backups; +extern int direct_write; extern char *backup_suffix; static struct delete_list { @@ -302,7 +303,8 @@ int fd1,fd2; STRUCT_STAT st; char *fname; - char fnametmp[MAXPATHLEN]; + char *fnametmp; + char fnametmpbuf[MAXPATHLEN]; char *fnamecmp; char fnamecmpbuf[MAXPATHLEN]; struct map_struct *buf; @@ -314,6 +316,7 @@ extern int preserve_perms; extern int delete_after...
2003 Jul 29
1
"-b --suffix '' --delete --backup-dir /path/" combination does not act as expected
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20030728/49616c2f/attachment.bin
2003 Sep 05
1
new option suggestion '--backup-only'
...rsync-backuponly/receiver.c --- rsync/receiver.c 2003-09-05 14:53:55.000000000 +0900 +++ rsync-backuponly/receiver.c 2003-09-05 15:06:37.000000000 +0900 @@ -39,6 +39,7 @@ extern char *backup_dir; extern char *backup_suffix; extern int backup_suffix_len; +extern int backup_only; static struct delete_list { DEV64_T dev; @@ -159,13 +160,14 @@ char *f = f_name(local_file_list->files[i]); if (make_backups && (backup_dir || !is_backup_file(f))) { (void) make_backup(f); - if (verbose) + if (verbose && !backup_only) rprintf(FINFO, "deleting %s\n&quo...
2005 Jan 05
1
rsync filename heuristics
...-2.5.4/receiver.c 2002-02-14 05:42:20.000000000 +1100 > +++ rsync-2.5.4-fuzzy/receiver.c 2002-04-03 16:46:46.000000000 +1000 > @@ -36,6 +36,7 @@ > extern char *compare_dest; > extern int make_backups; > extern char *backup_suffix; > +extern int fuzzy; > > static struct delete_list { > DEV64_T dev; > @@ -307,8 +308,6 @@ > char *fname; > char template[MAXPATHLEN]; > char fnametmp[MAXPATHLEN]; > - char *fnamecmp; > - char fnamecmpbuf[MAXPATHLEN]; > struct map_struct *buf; > int i; > struct file_struct *file; > @@ -366,28 +365,24 @@...
2002 Aug 05
5
[patch] read-devices
....c rsync-patched/receiver.c --- rsync-2.5.5/receiver.c Wed Feb 13 21:42:20 2002 +++ rsync-patched/receiver.c Mon Aug 5 10:05:15 2002 @@ -35,8 +35,9 @@ extern char *tmpdir; extern char *compare_dest; extern int make_backups; extern char *backup_suffix; +extern int read_devices; static struct delete_list { DEV64_T dev; INO64_T inode; @@ -212,16 +213,17 @@ OFF_T offset2; char *data; static char file_sum1[MD4_SUM_LENGTH]; static char file_sum2[MD4_SUM_LENGTH]; - char *map=NULL; - + rprintf(FINFO, "#ET#<receive_data for %s\n", fname); + count = read_int(f_in); n = read_in...