Re: rsync on Interix WSU 3.5

2004-01-19 Thread Cedric Puddy
Side note about Interix tools -- I just checked on Interop Systems site, and they don't seem to be currently maintaining a "port" of rsync. They maintain prebuilt copies (with source, of course, and they do submit changes back to maintainers AFAIK when they make changes) of many useful tools. If

Re: Improving name-truncation detection

2004-01-19 Thread jw schultz
On Mon, Jan 19, 2004 at 07:09:29PM -0800, Wayne Davison wrote: > On Mon, Jan 19, 2004 at 06:46:48PM -0800, jw schultz wrote: > > If you're going to do the strlen(src) and whatnot you might > > as well just snag the strlcpy source and tweak it so you > > only have to scan the data once. > > I snagg

Re: Improving name-truncation detection

2004-01-19 Thread Wayne Davison
On Mon, Jan 19, 2004 at 06:46:48PM -0800, jw schultz wrote: > If you're going to do the strlen(src) and whatnot you might as well > just snag the strlcpy source and tweak it so you only have to scan the > data once. I used rsync's version of strlcpy() from the lib/compat.c file as a basis for the

Re: Rsync and Tar

2004-01-19 Thread Steve Sills
I wasn't trying to "reinvent the wheel" I was just trying to see if anyone had done this. Your answer helped, so thankyou, but try not to be so snarkey in the future, most people including myself to look things up before we post on a mailing list. Steve jw schultz wrote: On Mon, Jan 19, 2004

Re: Improving name-truncation detection

2004-01-19 Thread jw schultz
On Mon, Jan 19, 2004 at 06:00:32PM -0800, Wayne Davison wrote: > On Mon, Jan 19, 2004 at 05:44:20PM -0800, Wayne Davison wrote: > > I'll append my util.c patch to this email. > > Or perhaps to this one... If you're going to do the strlen(src) and whatnot you might as well just snag the strlcpy so

Re: Improving name-truncation detection

2004-01-19 Thread Wayne Davison
On Mon, Jan 19, 2004 at 06:35:14PM -0800, jw schultz wrote: > That is why we use stacked strlcpy. Of course. I just thought I'd mention it since other sections of the code have been using the strlcat() idiom and I have been optimizing them away. ..wayne.. -- To unsubscribe or change options: ht

Re: Improving name-truncation detection

2004-01-19 Thread jw schultz
On Mon, Jan 19, 2004 at 05:44:20PM -0800, Wayne Davison wrote: > On Mon, Jan 19, 2004 at 02:39:56PM -0800, jw schultz wrote: > > If we are going to vet the path name for overflow (a good idea) lets > > do it once, explicitly, as we receive it instead of having tests > > scattered throughout the cod

rsync on Interix WSU 3.5

2004-01-19 Thread darren
I'm need to run a rsync server on a Quad 2.8Ghz , 1Gb RAM, 1Terabyte of disk.. Dell 725N - it's a storage, NAS type box running W2K, RAID 5 etc.. A real beast.. :-) The Unix guys want to backup their boxes to this beast using rsync clients. It would seem that Windows Services for Unix (WSU) is th

Re: Improving name-truncation detection

2004-01-19 Thread Wayne Davison
On Mon, Jan 19, 2004 at 05:44:20PM -0800, Wayne Davison wrote: > I'll append my util.c patch to this email. Or perhaps to this one... ..wayne.. --- util.c 2 Jan 2004 07:31:02 - 1.123 +++ util.c 20 Jan 2004 01:14:34 - @@ -553,6 +553,36 @@ void strlower(char *s) } }

Re: Improving name-truncation detection

2004-01-19 Thread Wayne Davison
On Mon, Jan 19, 2004 at 02:39:56PM -0800, jw schultz wrote: > If we are going to vet the path name for overflow (a good idea) lets > do it once, explicitly, as we receive it instead of having tests > scattered throughout the code. Yeah, good idea. > When all you are doing is concatinating a coupl

Re: Rsync and Tar

2004-01-19 Thread jw schultz
On Mon, Jan 19, 2004 at 03:56:40PM -0700, Steve Sills wrote: > Hello, > > I am trying to setup a backup system. What I would like to do is > have rsync create a tar file as it downloads (to save space) and just have > it update that tar file. Can rsync create a archive on the fly,

Rsync and Tar

2004-01-19 Thread Steve Sills
Hello, I am trying to setup a backup system. What I would like to do is have rsync create a tar file as it downloads (to save space) and just have it update that tar file. Can rsync create a archive on the fly, or does this have to be done after its finished its transfer? I would also like

Re: Improving name-truncation detection

2004-01-19 Thread jw schultz
On Mon, Jan 19, 2004 at 10:17:30AM -0800, Wayne Davison wrote: > I've got a patch that changes f_name_to() to return an unsigned int > (like sme_tonprintf() and strlcpy() do) and adds checking to ensure that we > didn't overflow the name before we try to use it: > > http://www.blorf.net/name-o

Re: Improving name-truncation detection

2004-01-19 Thread jw schultz
On Mon, Jan 19, 2004 at 12:21:48PM -0800, Wayne Davison wrote: > On Mon, Jan 19, 2004 at 12:05:16PM -0800, jw schultz wrote: > > How about posting it? > > To the mailing list? I think that most of the subscribers aren't going > to be interested in random patches, so it's more space- and bandwidth

Re: daemon mode - local to server sync failing

2004-01-19 Thread Jason delaFuente
I found my problem. The default for all modules is to be READ ONLY. adding the following to the module corrected the issue: read only = false Thanks! Jason de la Fuente >>> "Jason delaFuente" <[EMAIL PROTECTED]> 01/19/04 11:43AM >>> I have an rsync server running on nodeA and a client, nodeB

Improving name-truncation detection

2004-01-19 Thread Wayne Davison
I've got a patch that changes f_name_to() to return an unsigned int (like snprintf() and strlcpy() do) and adds checking to ensure that we didn't overflow the name before we try to use it: http://www.blorf.net/name-overflow.patch If anyone would care to check out the following patch before I

daemon mode - local to server sync failing

2004-01-19 Thread Jason delaFuente
I have an rsync server running on nodeA and a client, nodeB. I am attempting to do a sync/copy from the local machine, nodeB, to the rsync server, nodeA. The following line from the rsync man page makes it look like this is relatively simple: for copying from the local machine to a remote rsync

Re: How to mask @ symbol in username?

2004-01-19 Thread Peter
On Sun, 18 Jan 2004 13:17:01 -0800, you wrote: >rsync -e 'ssh -l [EMAIL PROTECTED]' server.com:/home /backup thank you very much, that worked! Peter -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-que

File that "vanish"es between readdir and stat is not IO error

2004-01-19 Thread John Van Essen
Using rsync 2.6.0 with --verbose and doing a pull. > receiving file list ... readlink "{FILENAME}" failed: > No such file or directory > done > IO error encountered - skipping file deletion The file was a temporary file that was being deleted just as the rsync was run. So while the file list was

Re: Upload only

2004-01-19 Thread a a
Thanks for the suggestion Wayne - it's not one I was aware of and works. We can't use it though - every 20th backup, the program which runs rsync on the user client does --delete to remove dead files from the server. With exclude = * this doesn't work. Any other ideas?