Re: why variable last_i is needed in match.c rsync source ?

2002-03-24 Thread Martin Pool
On 23 Mar 2002, Kim Jongtae [EMAIL PROTECTED] wrote: Hi all I see the rsync source and rsync makes hashing table and search hashing table tag_table to find the index of array struct sum_buf , which is a element of struct sum_struct. According to the source code, variable last_i is

Re: Anonymous rsync server on LAN

2002-03-21 Thread Martin Pool
On 21 Mar 2002, Berend Tober [EMAIL PROTECTED] wrote: uid = nobody gid = nobody use chroot = yes read only=yes max connections = 2 log file = /var/log/rsyncd.log hosts allow = 192.168.123.3 hosts deny = *.*.*.* [home]

Re: [PATCH] --link-dest option

2002-03-21 Thread Martin Pool
On 21 Mar 2002, jw schultz [EMAIL PROTECTED] wrote: Please CC me. I'm not subscribed. Attached is a patch against 2.5.4pre1 CVS current to add the --link-dest option so rsync will create hardlinks for unchanged regular files to a directory on the destination. This is like --compare-dest

Re: (fwd from uke@jeremy.org) thanks and patch

2002-03-20 Thread Martin Pool
On Tue, Mar 19, 2002 at 08:21:36AM -0800, jeremy bornstein wrote: The encryption program I'm using, gpg, includes a small bit of header information with the encrypted file, thus changing the size. Gpg is a public key encryption program which at least includes the numeric key ID of

Re: rsync processes never die

2002-03-20 Thread Martin Pool
On 11 Mar 2002, Scott Russell [EMAIL PROTECTED] wrote: This is on Red Hat 7.1. or 7.2. Looks like I'll have to wait a while on this update. Thanks anyway. You should not need to run autoconf unless you edit configure.in, because we ship ./configure and config.h.in. -- Martin -- To

Re: (fwd from uke@jeremy.org) thanks and patch

2002-03-20 Thread Martin Pool
On 20 Mar 2002, jeremy bornstein [EMAIL PROTECTED] wrote: Dave Dykstra wrote: Wouldn't encrypting the file with gpg change the timestamp as well as the size, so rsync would still copy the file? It certainly does--which is why I reset it afterwards. Although the backup script I use is

jitterbug bug tracker ( was Re: rsync kills all user processes on fork failure)

2002-03-19 Thread Martin Pool
On 19 Mar 2002, Paul Haas [EMAIL PROTECTED] wrote: I filed this as bug 4150 http://rsync.samba.org/cgi-bin/rsync/ Jitterbug, good, but I don't think anybody is really maintaining it at the moment. (For example, there are 733 messages in incoming.) I wonder if it would be better to just

Re: Suspicious sizes by different C compilers

2002-03-18 Thread Martin Pool
On 19 Mar 2002, Zoong Pham [EMAIL PROTECTED] wrote: Hi all, On my Alpha box running Tru64 5.1, rsync-2.5.4 compiled by GNU gcc 3.0.1 anh GNU make 3.79.1 has this size: 4562848. The same version of rsync compiled by Compaq C compiler V6.3-028 and Compaq make has this size: 655424. It is

Re: rsync-2.5.4 -- 'make install-strip' failure

2002-03-15 Thread Martin Pool
On 15 Mar 2002, Peter Breitenlohner [EMAIL PROTECTED] wrote: Hi, I have already sent this once, but since the problem persists here it is again. Thanks. Your patch was merged, but after the 2.5.4 release. Is CVS head OK? (look at cvs.samba.org) An other part of the patch adds DESTDIR

(fwd from flepied@mandrakesoft.com) rsync dead loop

2002-03-15 Thread Martin Pool
-- Martin ---BeginMessage--- While testing a frontend to rsync, we have been bitten by rsync eating all the memory of the host. We have found that it was due to rsync trying to write an error and then failing to write the error and trying to report that it fails to write the error and so on.

Re: posix me harder

2002-03-14 Thread Martin Pool
This does not demonstrate that test(1) is broken. I should have left off the '(1)'. Apparently different systems support different options. I suppose the best portable test for symlinks will be if test -L $f || test -h $f || /bin/test -L $f || /bin/test -h $f then echo is a link fi

Re: rsync 2.5.4 -v output (minor knit)

2002-03-14 Thread Martin Pool
On 14 Mar 2002, Dave Dykstra [EMAIL PROTECTED] wrote: I have not seen this, and I would appreciate a simple set of steps to reproduce it. I touched that code recently so I guess I should fix it. I tried rsync -av 'host:`echo dir1/*`' dir2 and that didn't do it. Since we seem to have

Re: PATCH: better progress reporting

2002-03-14 Thread Martin Pool
On 14 Mar 2002, Cameron Simpson [EMAIL PROTECTED] wrote: timeconfig-3.2.5-1.i386.rpm 158253 100% 160.48kB/s0:00:00 timidity++-2.10.4-2.i386.rpm 9309389 100% 397.71kB/s0:00:22 tix-8.2.0b1-67.i386.rpm 456809 100% 437.78kB/s

--diff option for rsync (Re: rsync feature request)

2002-03-14 Thread Martin Pool
On 14 Mar 2002, [EMAIL PROTECTED] wrote: I'm sure you get a million and one requests for changes to rsync. I thought I would put my bid in and sugest that a feature to perform a unix style diff of files that are found to be different would be useful for administrators that use rsync to

Re: Should these errors matter?

2002-03-13 Thread Martin Pool
On 14 Mar 2002, Jie Gao [EMAIL PROTECTED] wrote: Hi All, rsync-2.5.4 I'm getting these errors: Thanks for sending the log. That really helps. Are you perhaps running 'make test' as root? That would probably explain the failure of daemon-gzip-download and daemon-gzip-upload, which have

posix me harder

2002-03-13 Thread Martin Pool
People might find this entertaining and/or useful: http://www.gnu.org/manual/autoconf-2.52/html_chapter/autoconf_10.html With the help of Jos Backus I just discovered the answer to http://lists.samba.org/pipermail/rsync-cvs/2002-January/001271.html is that Sun's test(1) is breathtakingly

Re: Patch: --drop-suid Remove suid/sgid from target files

2002-03-12 Thread Martin Pool
On 12 Mar 2002, Dave Dykstra [EMAIL PROTECTED] wrote: If we would add an option to do that functionality, I would vote for one that was more general which could mask off any set of permission bits and possibly add any set of bits. Perhaps a chmod-like syntax if it could be implemented

Re: rsync over commercial SSH?

2002-03-12 Thread Martin Pool
On 12 Mar 2002, Rusty Carruth [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I get the following error running rsync 2.5.2 on AIX 4.3 in combination with SSH Secure Shell 2.3.0. rsync -e ssh myuserid@localhost:/tmp myuserid's password: /bin/ksh: rsync: not found. unexpected

Re: ssh + permissions

2002-03-12 Thread Martin Pool
On 12 Mar 2002, C.Zimmermann [EMAIL PROTECTED] wrote: The command I am using is: rsync -avx --hard-links --links --ignore-errors --perms --devices and the permissions on the source are not appearing on the destination and the destination ssh-account has no root-rights. Perhaps you mean

Re: Need help getting rsync working...

2002-03-12 Thread Martin Pool
On 13 Mar 2002, Brad [EMAIL PROTECTED] wrote: Thanks for your reply Greg. As you suggested, I have typed in: rsync /tmp/sheepb.jpg RH72TB::testmodule/ and it just does a CR-LF with no errors, but the file is not on the server hard drive. I wonder where it has gone? :-)) Now try rsync

Re: zlib 1.1.4 is out (was: Re: Patch: update zlib/* to 1.1.3)

2002-03-11 Thread Martin Pool
It seems the patch we merged into rsync 2.5.3 is not correct and -z is not reliable. I'll do another release shortly. -- Martin -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Re: Problems with 2.5.3 under Debian Linux

2002-03-11 Thread Martin Pool
On 11 Mar 2002, [EMAIL PROTECTED] wrote: I'm having serious problems with the current 2.5.3 release under Debian testing and the 2.4.19-pre2 Linux kernel. As you can see from the appended build log, I get many compiler warnings. More seriously, when I install and try to use the resulting

Re: Patch: update zlib/* to 1.1.3

2002-03-10 Thread Martin Pool
On 5 Feb 2002, Jos Backus [EMAIL PROTECTED] wrote: On Wed, Feb 06, 2002 at 02:30:51PM +1100, Martin Pool wrote: rsync includes a slightly modified and incompatible version of zlib. (PhD-project over-optimization...) To update to a newer zlib would require merging those changes across

Re: Incremental Diffs?

2002-03-06 Thread Martin Pool
On 6 Mar 2002, Kim Scarborough [EMAIL PROTECTED] wrote: I'm using it to backup files from one computer to another, and it works exactly as I thought it would, except that it seems to be copying entire files over when they've change rather than the differences. What specifically leads you

Re: rsync: dumping core, breaking pipes, not understanding modules - why?

2002-02-28 Thread Martin Pool
link_stat upeg_web/ : No such file or directory client: nothing to do: perhaps you need to specify some filenames or the rsync error: partial transfer (code 23) at mainc(23) I think you're hitting a bug in 252 Would you mind please trying 253pre1 and letting us know if that fixes the crash?

Re: rsyncd log in common log format?

2002-02-27 Thread Martin Pool
On 27 Feb 2002, root [EMAIL PROTECTED] wrote: I'm having trouble getting rsync to output the log into common log format. My web statistics program Webalizer (www.webalizer.org) wants the logs in Common Log Format (httpd.apache.org/docs/mod/mod_log_common.html). That sounds like a cool

Re: anyone compile source on Mac OS X?

2002-02-27 Thread Martin Pool
On 27 Feb 2002, Dave Dykstra [EMAIL PROTECTED] wrote: I get those warnings but not those undefined symbols. They're coming from lib/getnameinfo.c when INET6 is defined, and I use --disable-ipv6 on all the platforms I compile on so I didn't notice it. You could try using that. Other than

Re: Can not get rsync 2.5.2 or CVS t build Solaris8/GNU RTFM

2002-02-26 Thread Martin Pool
On 26 Feb 2002, Lancashire, Pete [EMAIL PROTECTED] wrote: Sorry about that ./configure --with-included-popt It should have detected that automatically. Can you please look in config.log for some indication of why it did not? -- Martin -- To unsubscribe or change options:

Re: exclude option in rsyncd.conf

2002-02-24 Thread Martin Pool
On 22 Feb 2002, Albert Chin [EMAIL PROTECTED] wrote: I have the following module defined in rsyncd.conf: [updates] list = no hosts allow = foo path = /ext/updates exclude = incoming From host foo, if I run: $ rsync -arHvn --delete bar::foo /ext/updates then the

Re: File over 2GB using Cygwin

2002-02-22 Thread Martin Pool
On 21 Feb 2002, David Bolen [EMAIL PROTECTED] wrote: I'm pretty sure Cygwin itself has a 2GB (32-bit) limitation for files. Large file (64-bit) support for Cygwin has come up in various ways repeatedly on the Cygwin mailing list but it generally ends up at the point where if someone is

Re: Keep one BIG file in sync

2002-02-22 Thread Martin Pool
On 21 Feb 2002, Oliver Krause [EMAIL PROTECTED] wrote: Hi, after some searching i didn't came up with an answer so please excuse if this is a total newbie question. My problem: I have server A which has a big (500G) database like file. On server B i want to have a copy of this file

splint in rsync 2.6?

2002-02-22 Thread Martin Pool
I just tried running Splint across rsync. (Splint is the C-checking lint tool previously called LCLint.) In default mode it gives 2552 (!!) warnings for rsync alone, not including zlib or popt. In -weak mode, it gives 390. Of course, the vast majority will not be real errors, but from past

Re: [PATCH] rsync on cygwin - textmode config files

2002-02-20 Thread Martin Pool
(1) --no-detach OK, already fixed. --no-fork would be good to add in the future -- it can be handy for debugging. (2) ctrl-c Fixed recently by Colin Walters. O_TEXT and O_BINARY Good. It might be cleaner to #ifdef on O_BINARY or something that will also work on MSVC++. +#ifdef

Re: push data instead of pull

2002-02-20 Thread Martin Pool
rsync rsync.h alta::ro rsync: read error: Connection reset by peer rsync error: error in rsync protocol data stream (code 12) at io.c(151) Connection reset by peer often means the remote rsync crashed. If you see this message when the only problem is that the remote module is read only,

#3980 Re: rsync-2.5.3pre1 preview release -- please try it

2002-02-20 Thread Martin Pool
On 19 Feb 2002, Albert Chin [EMAIL PROTECTED] wrote: On Mon, Feb 18, 2002 at 06:23:04PM -0800, Martin Pool wrote: Available now from samba.org and all mirrors. Please report bugs, compilation problems, etc. If there are no major issues I think I will put this out as 2.5.3 shortly

rsync-2.5.3pre1 on RH5.2

2002-02-20 Thread Martin Pool
Apparently the getaddrinfo stuff breaks something on RH5.2. I guess that is not a common platform anymore, but there's a machine here that people care about. I'll try and patch it. -- Martin To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting,

Re: rsync-2.5.3pre1 on RH5.2

2002-02-20 Thread Martin Pool
On 20 Feb 2002, Martin Pool [EMAIL PROTECTED] wrote: Apparently the getaddrinfo stuff breaks something on RH5.2. I guess that is not a common platform anymore, but there's a machine here that people care about. I'll try and patch it. Apparently this is a known bug. If you have

Re: --perms --owner --group --devices do not work

2002-02-18 Thread Martin Pool
On 12 Feb 2002, C. Zimmermann [EMAIL PROTECTED] wrote: Hello, the --perms --owner --group --devices options do not work. What is wrong ? Does anyone have an answer ? $RSYNC -a --copy-links --ignore-errors --stats --progress --recursive ${RSYNCSERVER1}::${USER}/ In what way do they not

Re: Debian bug #128632 fork

2002-02-18 Thread Martin Pool
Why the sleep() call? On 16 Feb 2002, Colin Walters [EMAIL PROTECTED] wrote: Index: socket.c === RCS file: /cvsroot/rsync/socket.c,v retrieving revision 1.74 diff -u -u -r1.74 socket.c +++ socket.c 16 Feb 2002 23:08:47 -

Re: Debian bug #128632 fork

2002-02-18 Thread Martin Pool
On 18 Feb 2002, Wayne Davison [EMAIL PROTECTED] wrote: On Mon, 18 Feb 2002, Martin Pool wrote: Why the sleep() call? I guess the point is that the fork() probably failed because the server is overloaded, and therefore there is no point trying to accept another connection again immediately. I

(offtopic) Jack Moffit on BitKeeper

2002-02-12 Thread Martin Pool
Here's an interesting discussion of somebody's experience using BitKeeper on a free-as-in-speech project http://www.mit.edu/afs/athena/user/x/i/xiphmont/Public/critique.html -- Martin

Re: Rsync 2.5.2 -v too verbose?

2002-02-08 Thread Martin Pool
On 7 Feb 2002, Dave Dykstra [EMAIL PROTECTED] wrote: I see a lot of messages have RSYNC_NAME : put on the beginning, including FINFO messages. I really don't think they belong on FINFO messages at all. I looked into it because I noticed it printing a symlink prefaced by rsync: which

Re: rsync dir in _both_ directions?

2002-02-06 Thread Martin Pool
On 5 Feb 2002, Jack McKinney [EMAIL PROTECTED] wrote: Big Brother tells me that Dave Dykstra wrote: On Mon, Feb 04, 2002 at 11:58:04AM -0600, Jack McKinney wrote: If I change the status on the first message in the box (reply to it, delete it), then the ENTIRE mailbox is re-copied. Not

Re: rsync dir in _both_ directions?

2002-02-06 Thread Martin Pool
On 4 Feb 2002, Jack McKinney [EMAIL PROTECTED] wrote: Well, I read my email on my laptop, and it is sometimes necessary to login to a central server to read my email (firewall issues). What I do is to peridocally sync with the central server (which we'll call server) by: rsync -e ssh

Re: configure --with-rsh=CMD and default blocking-IO support

2002-02-06 Thread Martin Pool
On 6 Feb 2002, Wayne Davison [EMAIL PROTECTED] wrote: Cool. I like that one as well. Here's an implementation. This patch adds the configure option --with(out)-blocking-io and defines a new variable that gets put into config.h: DEFAULT_BLOCKING_IO. OK, that's good. Thanks. The code

Re: rsync dir in _both_ directions?

2002-02-06 Thread Martin Pool
On 6 Feb 2002, Jack McKinney [EMAIL PROTECTED] wrote: #!/bin/sh eval `ssh-agent` ssh-add rsync foo bar rsync qux zump .. kill $SSH_AGENT_PID As I indicated, I do not want to use ssh-agent. For religious reasons? -- Martin

Re: Patch: update zlib/* to 1.1.3

2002-02-05 Thread Martin Pool
On 29 Jan 2002, Jos Backus [EMAIL PROTECTED] wrote: This patch (apologies for the size) updates zlib/* to the files that ship with zlib 1.1.3. rsync includes a slightly modified and incompatible version of zlib. (PhD-project over-optimization...) To update to a newer zlib would require

Re: configure --with-rsh=CMD and default blocking-IO support

2002-02-05 Thread Martin Pool
On 30 Jan 2002, Wayne Davison [EMAIL PROTECTED] wrote: A while back I argued for adding a --with-rsh=CMD option to configure and got some general agreement that it would be a good thing (especially for systems that don't have rsh at all). However, the changes were never integrated into

Re: proper syntax?

2002-02-05 Thread Martin Pool
On 23 Jan 2002, Jamie Pratt [EMAIL PROTECTED] wrote: ...It all appears to work, but I'm not satisfied - dates dont seem to change on files? What do you mean? Also, what version and platform is this? -- Martin

--ignore-existing patch merged into rsync

2002-01-25 Thread Martin Pool
This option will be in the rsync distribution from 2.5.2 onwards. Thankyou, -- Martin

Re: rsync: future of the --server option

2002-01-25 Thread Martin Pool
On 25 Jan 2002, Martin A. Brown [EMAIL PROTECTED] wrote: Can anybody here shed any light for me on whether or not the --server option is here to stay? Yes it is. I guess it would be OK to have a manual section that says they're for internal use only. -- Martin

Re: access denied error with rsync 2.5.1

2002-01-24 Thread Martin Pool
On 25 Jan 2002, Kenneth Wilder [EMAIL PROTECTED] wrote: Hi. I have several Linux machines running the Debian unstable distribution. Until recently I used rsync version 2.4.6 without any problems, but after upgrading to version 2.5.1 (using apt-get) rsync fails. The command that produces

Re: I'm unsubscribing and here's why!

2002-01-23 Thread Martin Pool
I filter using the List-Id field for all email and it works well -- email specifically to me ends up in my main mailbox, because it might be urgent. Even if your mail client isn't that smart, you in most programs that have any kind of filtering it would be possible to do something like TO

Re: meaning of IO Error: skipping the delete....

2002-01-23 Thread Martin Pool
On 24 Jan 2002, Nitin Agarwal [EMAIL PROTECTED] wrote: Dear Mr. Martin, I am dead sure that none of the process was running which was creating files on that file system. Further, our process are not creating any files having last extension as 0003. Kindly provide us with the solution of the

Re: rsynd-2.5.1 / batch.c patch

2002-01-15 Thread Martin Pool
These all look fine, but somewhere along the line they got mangled so that they won't apply properly. Would you mind please sending them to me as an attachment or something? (Yes, I'm lazy ;-) -- Martin

Re: --whole-file option was accidentally changed to --whole

2002-01-15 Thread Martin Pool
Good catch. Tridge suggested the other day that it's bad to make -W the default for local transfers, because it makes behaviour kind of less reproducible: people who test rsync locally will see possibly different bugs when running it over the network. I'm inclined to agree, but I'm not sure.

Re: Error in rsync that I don't understand..

2002-01-14 Thread Martin Pool
On 14 Jan 2002, Dave Dykstra [EMAIL PROTECTED] wrote: I asked Martin to explain how to do this on the rsync web page or better yet put a prompt for it there but he hasn't said he would or not. Right, we should do that. Pipermail is not ideal. I particularly hate the way it splits up threads

Re: patch for 2.5.1 on CygWin

2002-01-13 Thread Martin Pool
On 13 Jan 2002, Lapo Luchini [EMAIL PROTECTED] wrote: As noted by Chris Boucher in bug 3750 one open missed the ifdef to add binary to the win32 compile. Fixed. The patch was backward, though: you should list the old file first an the new file second when generating diffs. Thanks, -- Martin

Re: rsync tree migration in progress

2002-01-10 Thread Martin Pool
This looks like too much pain to justify the switch at the moment. I'm going to at least hold it over for a while. Sorry for any inconvenience. -- Martin

Re: rsync for NCR MP-RAS

2002-01-09 Thread Martin Pool
On 9 Jan 2002, [EMAIL PROTECTED] wrote: Hi Dave, It works now. Thanks a lot. Is there any benchmark comparision of transfer rates between ftp, rcp or rsync. Thanks again. http://rsync.samba.org/rsync/tech_report/ rsync is most useful if there is already an older version of the file on

Re: rsync-2.5.1 / popt patches

2002-01-09 Thread Martin Pool
On 7 Jan 2002, John E. Malmberg [EMAIL PROTECTED] wrote: With the default warning level, some of the failures are silent, but can cause incorrect code to be generated. In particular, malloc() will be substituted for the built in alloca() macro, unless Tru64 has the alloca.h header file.

Re: rsync --daemon bypasses directory permissions on Linux (PR#3700)

2002-01-06 Thread Martin Pool
[EMAIL PROTECTED] wrote: On Linux, running 'rsync --daemon' as root bypasses some security restrictions, allowing access to otherwise inaccessible files. Well, I can see why you think this is confusing, but I think rsync's behaviour is reasonable and consistent with Unix's security design.

rsync tree migration in progress

2002-01-06 Thread Martin Pool
I'm going to go ahead and move the source tree from CVS to BitKeeper. Please don't make any commits to CVS until you hear from me. It's fine to make checkouts. -- Martin

migration to BitKeeper

2002-01-06 Thread Martin Pool
If you only run released (rather than development) versions of rsync then you can skip this message. rsync's source tree has been converted from CVS to BitKeeper. This message contains brief instructions for people who want to track development or make contributions. I think it should take

Re: rsync for NCR MP-RAS

2002-01-06 Thread Martin Pool
On 6 Jan 2002, [EMAIL PROTECTED] wrote: I can use -a so far. Why options do not work? # ./rsync --daemon rsync: --daemon: unknown option rsync error: syntax or usage error (code 1) at main.c(793) # rsync --help Segmentation Fault - core dumped Did you do make install or put rsync in

Re: rsync w/ openssh hangs on linux

2002-01-04 Thread Martin Pool
On 4 Jan 2002, Dave Dykstra [EMAIL PROTECTED] wrote: Well I don't see anything in the send queues so that's not likely to be the problem. It doesn't seem likely that anybody else would be able to easily reproduce your setup. I suspect your Internet Sharing setup since you have also

Re: rsync for NCR MP-RAS

2002-01-04 Thread Martin Pool
On 4 Jan 2002, Mike Li [EMAIL PROTECTED] wrote: Hi Martin, Is there a binary for rsync for NCR MP-RAS ver 3.0 running on Intel PIII Hardware? I've never heard of that. What is it? I can't seem to be able to compile the source codes either even though I have C compiler Here is what I

Re: rsync for NCR MP-RAS

2002-01-04 Thread Martin Pool
On 4 Jan 2002, Mike Li [EMAIL PROTECTED] wrote: ./configure -host=i685-ncr-sysv4.3 configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. configure: Configuring rsync 2.5.1 checking build system

Re: .plan to avoid unhappy users

2002-01-02 Thread Martin Pool
On 22 Dec 2001, Han [EMAIL PROTECTED] wrote: I am on a developpers list for mandrake: cooker@ and the rsync-servers broke which resulted in a lot of very unhappy people cause their rsync directories got empied. Sorry about that... rsync should never delete local files just because the

Re: rsync *Still* Copying All Files?

2002-01-02 Thread Martin Pool
On 20 Dec 2001, Mack, Daemian [EMAIL PROTECTED] wrote: The question is, why does it work? Are you indeed copying between two NTFS filesystems, with rsync running under Windows cygwin on both sides? I would have thought that would result in matching timestamps granularity on

rsync+ tidyup (was Re: move rsync development tree to BitKeeper?)

2002-01-02 Thread Martin Pool
On 6 Dec 2001, Jos Backus [EMAIL PROTECTED] wrote: I will also pound a little bit more on the rsync+ bits. Two more small nits: rsync.1: -f, --read-batch=FILE read batch file rsync.yo: -f, --read-batch=FILE read batch file Here, FILE should be EXT, as it specifies the

Re: -v prints directories twice

2001-12-18 Thread Martin Pool
On Mon, 3 Dec 2001 12:33:56 -0600 Dave Dykstra [EMAIL PROTECTED] wrote: Does it bother anybody else that -v prints directories twice? It first prints all affected directories and files in recursive order and then prints new directories again. I can't recall noticing that rsync always did

Re: rsync doesn't accept commands

2001-12-18 Thread Martin Pool
On Tue, 18 Dec 2001 16:30:54 -0600 Tim Shubitz [EMAIL PROTECTED] wrote: Hello folks, I've recently become an rsync user and have installed it on a LinuxPPC box to sync up to another machine. So I set things up and went to try and start rsync on the Linux box the software does nothing except

Re: rsync server over SSH [includes code patches]

2001-12-17 Thread Martin Pool
On 4 Dec 2001, JD Paul [EMAIL PROTECTED] wrote: Here's a new version of my rsync-server-over-remote-shell patch: This looks good. My main reservation is that it makes it even harder to explain how rsync works, but I think the increase in flexibility justifies it. I'd like to get some of

Re: --size-only ?

2001-12-17 Thread Martin Pool
On 17 Dec 2001, Kapoor, Nishikant X [EMAIL PROTECTED] wrote: Excuse me for my ignorance but is this flag referring to the files with same filename on source and destination ? If the destination file has the same size as that of one on source but a different name, would it still skip it ? At

Re: rsync hang, more details [LONG]

2001-12-17 Thread Martin Pool
On 17 Dec 2001, Ed Santiago [EMAIL PROTECTED] wrote: rsync 2.5.0 still has a bug where it hangs under some circumstances. The hang is beyond my abilities to track down. The other thing you absolutely need to send is the output of netstat -ta while the program is running. If netstat on

mailing list test

2001-12-17 Thread Martin Pool
Mailman has been upgraded; please ignore this message. -- Martin

Re: ( ????)???????? ?? ???????? ?????? ??????????.

2001-12-16 Thread Martin Pool
On 14 Dec 2001, [EMAIL PROTECTED] wrote: Anybody else getting sick of our list getting spammed? There is a spam filter in place, but it's not perfect. Foreign language spam is even more arrogant than English -- what fraction of internet morons want to buy toner cartridges in Polish? --

Re: CVS update: rsync

2001-12-16 Thread Martin Pool
On 14 Dec 2001, [EMAIL PROTECTED] wrote: open_socket_in was attempting to try all the protocols returned from getaddrinfo(), but only if a corresponding call to socket() returned one of three *NOSUPPORT errno codes. A Redhat 6.2 system was observed returning EINVAL instead so it never went

Re: CVS update: rsync

2001-12-16 Thread Martin Pool
On 14 Dec 2001, [EMAIL PROTECTED] wrote: Modified Files: options.c Log Message: When INET6 is not defined, meaning that IPv6 is not supported, need to initalize the global_opts.af_hint to AF_INET or systems such as Linux that have a native getaddrinfo() because they support IPv6

Re: Problems with rsync 2.5.1pre1 and hardlinks

2001-12-12 Thread Martin Pool
On 12 Dec 2001, [EMAIL PROTECTED] wrote: An additional hard link to an existing file takes only directory space, which, if it's not enough of an addition to that directories existing data to cause the filesystem driver to add another allocation to the directories data space, takes up no more

Re: efficient file appends

2001-12-12 Thread Martin Pool
On 12 Dec 2001, [EMAIL PROTECTED] wrote: While potentially a useful option, you wouldn't want the protocol to automatically always check for it, since it would preclude rsync on This extension need not break any existing mechanism; if the hash of the receiver's copy of the file doesn't

Re: definite data corruption in 2.5.0 with -z option

2001-12-12 Thread Martin Pool
On 12 Dec 2001, [EMAIL PROTECTED] wrote: I just confirmed that data corruption can occasionally occur with rsync 2.5.0 when the -z option is used. Please keep the two directories that caused the problems, if they have not already been overwritten. Are you sure you're running 2.5.0 at both

Re: definite data corruption in 2.5.0 with -z option

2001-12-12 Thread Martin Pool
On 12 Dec 2001, [EMAIL PROTECTED] wrote: I just ran into the same corruption problem with 2.5.1pre3. Again, it only happens when I use large checksum block sizes (65536) *and* request compression (-z). My apologies, this fix went in after 2.5.1pre3. Would you please try either using CVS

Re: Rsync skipping certain lines in files

2001-12-11 Thread Martin Pool
On 10 Dec 2001, mike harris [EMAIL PROTECTED] wrote: I was wondering if it were possible with rsync to exclude certain lines in a file before it syncs them up to update the diferrences. I have files on two systems that the first 10 lines are unique to each system but the rest of the lines in

Re: move rsync development tree to BitKeeper?

2001-12-07 Thread Martin Pool
Incidentally, here's an interesting BitKeeper demostration/tutorial: http://www.bitkeeper.com/demo/ -- Martin

Re: bug in permissions on symlinks

2001-12-07 Thread Martin Pool
On 7 Dec 2001, Cameron Simpson [EMAIL PROTECTED] wrote: Please don't take this path - ownerships on symlinks are a pretty meaningless concept Right. For just this reason I just changed the regression test to use an included tiny ls, rather than the system's ls, because on some systems the

Re: Cosmetic code cleanup?

2001-12-07 Thread Martin Pool
On 6 Dec 2001, Jos Backus [EMAIL PROTECTED] wrote: Here's a list of cosmetic changes I'd be willing to make to the code in order to make it more consistent, which stylisticly it currently is not. - separate function definitions by 2 newlines - put spaces after commas in arg lists - put

Re: --no-detach option?

2001-12-05 Thread Martin Pool
On 21 Nov 2001, Jos Backus [EMAIL PROTECTED] wrote: On Wed, Nov 21, 2001 at 08:54:18AM -0600, Dave Dykstra wrote: Here's a patch, based on Max Bowsher's patch. If deemed useful I will supply the man patch as well. --no-detach patch committed. -- Martin

rsync2.5.1pre3 released

2001-12-05 Thread Martin Pool
rsync://samba.org/rsyncftp/preview/ rsync 2.5.1 (sometime in 2001?) ENHANCEMENTS: * --progress and -P now show estimated data transfer rate (in a multiple of bytes/s) and estimated time to completion. Based on a patch by Rik Faith. * --no-detach option, required

Re: problem uploading to an rsync server

2001-12-05 Thread Martin Pool
On 5 Dec 2001, Jeremy Hansen [EMAIL PROTECTED] wrote: It's set to localhost because this is going over an stunnel. Yes, I did try it without the stunnel and same results. How can I debug this. This is 2.4.6 on both sides because 2.5.0 just fails completely for uploading and

move rsync development tree to BitKeeper?

2001-12-05 Thread Martin Pool
Andrew and I thought it might be an interesting experiment to move rsync to using BitKeeper rather than CVS for source code control. For a project with rsync's size and activity CVS is actually fine, but it would be a nice toe in the water with BitKeeper to get some practical experience before

Re: Netware modify bit changed

2001-12-04 Thread Martin Pool
On 5 Dec 2001, Juan J. L?pez [EMAIL PROTECTED] wrote: Dave: With archive bit I mean a MS-DOS file attribute (like read only, system or hidden). When the archive attribute of a file is set, that file is presumed to be changed after the last backup and then must be copied again. The

Re: rsync ipv6 patch merge?

2001-12-03 Thread Martin Pool
On 4 Dec 2001, SUMIKAWA Munechika [EMAIL PROTECTED] wrote: Would it be sufficient for us to just read into a byte array large enough to hold all reasonable IPv6 encodings, and then cast it as appropriate? I have not had a chance to follow this idea through yet. I don't think at most

Re: rsync ipv6 patch merge?

2001-12-03 Thread Martin Pool
On 4 Dec 2001, SUMIKAWA Munechika [EMAIL PROTECTED] wrote: client_addr(), client_name() always fails for IPv6 connection sice in most of system, sizeof(struct sockaddr_in) sizeof(struct sockaddr) sizeof(struct sockaddr_in6) you should use sockaddr_storage for getpeername(). here is

bug in permissions on symlinks

2001-12-02 Thread Martin Pool
I see rsync has this in rsync.h #ifndef HAVE_LCHOWN #define lchown chown #endif So on Linux lchown changes the ownership on a symlink, whereas chown on a symlink will change the ownership of its target. man lchown says In versions of Linux prior to 2.1.81 (and distinct from

Re: rsync 2.5.0 bit length overflow

2001-12-02 Thread Martin Pool
On 30 Nov 2001, Thomas J Pinkl [EMAIL PROTECTED] wrote: I'm seeing: bit length overflow code 4 bits 6-7 in the output of rsync 2.5.0 between two Red Hat Linux systems. One is RH 6.1 (kernel 2.2.19-6.2.1, glibc 2.1.3-22), the other is RH 7.2 (kernel 2.4.9-13, glibc 2.2.4-19). Both

rsync internationalization?

2001-12-02 Thread Martin Pool
Does anybody care about supporting non-English message locales in rsync? (Do all sysadmins speak English? :-) Would anybody contribute translations if we had the framework? -- Martin

Re: Bug in rsyncd 2.5.0 while handling config file string values

2001-12-02 Thread Martin Pool
On 2 Dec 2001, Heikki Vatiainen [EMAIL PROTECTED] wrote: I compiled and tried rsync 2.5.0 but could not get the server running. loadparm.c:string_set() now calls free() which it did not do in 2.4.6 and this free() tries to free memory that was not allocated with malloc. Thankyou for the

Re: rsync-2.5.0 patch for make check bug

2001-12-02 Thread Martin Pool
On 30 Nov 2001, Tom Schmidt [EMAIL PROTECTED] wrote: Attached is a patch for rsync 2.5.0 to fix the make check option. Thankyou, commmitted. -- Martin

<    1   2   3   4   5   >