Re: --no-detach option?

2001-11-21 Thread Max Bowsher
I did the same, for cygwin, but I called the option --debug-daemon. --no-detach is probably a better name. Heres my patch. - Original Message - From: "Jos Backus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 20, 2001 11:05 PM Subject: --no-detach option? How about

Re: --no-detach option?

2001-11-21 Thread Dave Dykstra
On Wed, Nov 21, 2001 at 12:23:29PM -, Max Bowsher wrote: > I did the same, for cygwin, but I called the > option --debug-daemon. --no-detach is probably a better name. Heres my > patch. > - Original Message - > From: "Jos Backus" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tu

Re: rsync server over SSH [includes code patches]

2001-11-21 Thread Dave Dykstra
On Tue, Nov 20, 2001 at 10:44:22PM -0500, JD Paul wrote: > Hi -- > > I've made the changes to my code changes and the new diffs (against > 2.4.6 again) are included below. > > Syntax for running rsync server over a remote shell (e.g. ssh) is now: > > rsync [options] -e ssh source [user@]host::m

Re: --no-detach option?

2001-11-21 Thread tim . conway
Not in daemon mode. = # ps -ef |grep rsync # rsync --daemon # ps -ef |grep rsync root 23716 1 0 07:42:58 ?0:00 rsync --daemon # rsync localhost:: tconway # Like most daemons, it fork

Re: --no-detach option?

2001-11-21 Thread Dave Dykstra
Excuse me, I meant to say if stdin in IS a socket. - Dave Dykstra On Wed, Nov 21, 2001 at 07:46:29AM -0700, [EMAIL PROTECTED] wrote: > Not in daemon mode. > = > # ps -ef |grep rsync > # rsync --daemon > # ps -ef |grep rsync > root 23716 1

Compressed backup mode?

2001-11-21 Thread Holger Jahn
Hi list! Is there any way to tell rsync to keep the mirrored files compressed? I'd like to use it for backup purposes and would like to save some space on the target machine. If there's no such way, I probably have to reactivate my C-skills (But I hope that ain't necessary :)) Holger

Re: Compressed backup mode?

2001-11-21 Thread Dave Dykstra
On Wed, Nov 21, 2001 at 04:47:31PM +0100, Holger Jahn wrote: > Hi list! > > Is there any way to tell rsync to keep the mirrored files compressed? > > I'd like to use it for backup purposes and would like to save some > space on the target machine. > > If there's no such way, I probably have to

Re: --no-detach option?

2001-11-21 Thread Jos Backus
On Wed, Nov 21, 2001 at 08:54:18AM -0600, Dave Dykstra wrote: > Excuse me, I meant to say if stdin in IS a socket. That mode of operation is indeed useful when running rsync --daemon from inetd or tcpserver. I am talking about a mode in which rsync still listen()s, etc. but can be managed by its

delete-before-update patch

2001-11-21 Thread Don Mahurin
I have been using this simple patch enough that I know it works for my purpose, now I submit it here, for comments. --delete-before-update implies -W, unlinks the destination file just before the new (temporary) file is written. This would be used when writing to a small or near full medium

Re: --no-detach option?

2001-11-21 Thread Jos Backus
On Wed, Nov 21, 2001 at 08:54:18AM -0600, Dave Dykstra wrote: > Excuse me, I meant to say if stdin in IS a socket. That mode of operation is used when running from inetd or tcpserver. Not detaching from the parent is useful when one wants the parent (supervise in this case) to manage the rsync pr

Re: --no-detach option?

2001-11-21 Thread Dave Dykstra
On Wed, Nov 21, 2001 at 11:07:21AM -0800, Jos Backus wrote: > On Wed, Nov 21, 2001 at 08:54:18AM -0600, Dave Dykstra wrote: > > Excuse me, I meant to say if stdin in IS a socket. > > That mode of operation is indeed useful when running rsync --daemon from inetd > or tcpserver. I am talking about

Re: delete-before-update patch

2001-11-21 Thread Dave Dykstra
On Wed, Nov 21, 2001 at 11:09:48AM -0800, Don Mahurin wrote: > I have been using this simple patch enough that I know it works for my > purpose, > now I submit it here, for comments. > > --delete-before-update > implies -W, unlinks the destination file just before the new (temporary) > file i

Re: --no-detach option?

2001-11-21 Thread Jos Backus
On Wed, Nov 21, 2001 at 03:27:52PM -0600, Dave Dykstra wrote: > I'm not familiar with daemontools; I checked the web site and it wasn't > obvious to me. What's the advantage of using daemontools supervise? Why > does it need to run the daemon as a subprocess? Like AIX's SRC (System Resource Con

How to setup Rsync as an NT Service

2001-11-21 Thread BOLLERUD,CHRIS W (HP-MountainView,ex1)
For a recent project I needed to run Rsync as a service on Windows NT. The following is a link to the instructions I created to recreate my steps. http://members.home.net/cbollerud2/projects/rsync/NTService.html The "no-fork" patch used here is very similar to the "no-detach" option mentioned i

Re: How to setup Rsync as an NT Service

2001-11-21 Thread Lapo Luchini
> To create the install package described here you will need to obtain a copy of the >NT Server or Windows 2000 Server Resource Kit. There are many sources for these >utilities. Perhaps the easiest is to get the book and CD from any technical bookstore >or online at http://www.amazon.com for as

RE: How to setup Rsync as an NT Service

2001-11-21 Thread BOLLERUD,CHRIS W (HP-MountainView,ex1)
The pre-compiled version of Rsync does not offer a way to turn off forking in daemon mode. When an NT Service tries to stop or pause a service it uses the same PID that was used to start the program. Because the program forks it creates a new PID and the Service Control Panel is no longer able t

Re: Bandwidth Limits

2001-11-21 Thread Martin Pool
On 20 Nov 2001, [EMAIL PROTECTED] wrote: > It is a bit less than obvious... It can be sure about its own kBps, but > wire protocols may vary... 100Mbps of ethernet is not 100/16 ofr 16Mbps > token ring is not 100/1.044 of T1 is not ...whatever rsh,, ssh, and > rsync transport protocols var