Can rsync update files in place?

2002-04-16 Thread Paul Slootman
work over a network though :-) Thanks, Paul Slootman -- -- 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: Can rsync update files in place?

2002-04-16 Thread Paul Slootman
On Tue 16 Apr 2002, Martin Pool wrote: On 16 Apr 2002, Paul Slootman [EMAIL PROTECTED] wrote: Is there a way to get rsync to not create a new file while transferring and then rename it, but to instead update the existing file in place, i.e. simply write those blocks that have been

Re: Can rsync update files in place?

2002-04-17 Thread Paul Slootman
(and heavily tainted with C and Perl indoctrination) I wonder how easy it'll be to get familiar with it. I'll have a look sometime. Thanks, Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart

Re: File name too long

2003-03-10 Thread Paul Slootman
that that shouldn't be too difficult to fix as well, if it's even necessary. With this patch, I can successfully transfer a file that has a 255-char filename. Only thing that may be a problem is the NAME_MAX thing, but that's a POSIX thing, so should be relatively safe (famous last words). Paul Slootman

fudging filename characters

2003-03-10 Thread Paul Slootman
? What should the option be called? Paul Slootman -- 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: File name too long

2003-03-11 Thread Paul Slootman
around (MAXPATHLEN) when that can be avoided makes me feel bad... It's relatively localized in this case, so it shouldn't be too big a problem. Besides, the original code also did it :-) Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before

Re: BUG: logging on the wrong side with 2.5.6

2003-03-11 Thread Paul Slootman
being deleted could be changed in this case. Paul Slootman -- 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: File name too long

2003-03-11 Thread Paul Slootman
On Tue 11 Mar 2003, jw schultz wrote: On Tue, Mar 11, 2003 at 09:16:24AM +0100, Paul Slootman wrote: The one thing that bothers me, also present in the current code is the bit of changing and then restoring fname. That complicates the code in ways that are prone to induce human

Re: File name too long

2003-03-11 Thread Paul Slootman
. Paul Slootman -- 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: File name too long

2003-03-11 Thread Paul Slootman
are that long. The patch from the debian developer should be safer. I'll probably make a debian package available soon. Paul Slootman -- 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: File name too long

2003-03-11 Thread Paul Slootman
++] = '.'; maxname = MIN(MAXPATHLEN - 8 - length, NAME_MAX - 9); Shouldn't this be: maxname = MIN(MAXPATHLEN - 7 - length, NAME_MAX - 7); because in both cases all we will be adding is .XX ? Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman

Re: File name too long

2003-03-11 Thread Paul Slootman
), libpopt0 (= 1.6.4). If those are too new for you, let me know and I'll try to build a version that is less demanding. Paul Slootman -- 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: File name too long

2003-03-11 Thread Paul Slootman
On Tue 11 Mar 2003, Luc Santeramo wrote: maybe you can send me receiver.c ? Done. Paul Slootman -- 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: File name too long

2003-03-11 Thread Paul Slootman
On Tue 11 Mar 2003, Luc Santeramo wrote: A 16:19 11/03/2003 +0100, Paul Slootman a écrit : On Tue 11 Mar 2003, Luc Santeramo wrote: maybe you can send me receiver.c ? Done. ok I got it but maybe I should wait for you and JW to agree on this part ? Well, it's basically just different

Re: File name too long

2003-03-12 Thread Paul Slootman
, fname); return 0; } strlcpy(fnametmp + length, f, maxname); strcat(fnametmp + length, .XX); return 1; } The extra parentheses around the strrchr thing is to keep gcc quiet. Paul Slootman -- To unsubscribe or change options: http

Re: File name too long

2003-03-12 Thread Paul Slootman
\n,fnametmp,strerror(errno)); + rprintf(FERROR,mkstemp s %s failed: %s\n, fname, strerror(errno)); What's the s for? Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs

patch against manpage

2003-03-12 Thread Paul Slootman
This is a patch against the manpage to clarify what the --perm option does and does not do. Paul Slootman diff -ru orig/rsync-2.5.6/rsync.1 rsync-2.5.6/rsync.1 --- orig/rsync-2.5.6/rsync.12003-01-28 04:11:57.0 +0100 +++ rsync-2.5.6/rsync.1 2003-03-07 12:18:19.0 +0100

patch: typo's and gcc warnings

2003-03-12 Thread Paul Slootman
Two patches: one to correct the spelling of permissions (in comments, but such typos disturb me as well), and one to cast inode and dev to unsigned long before comparing, to prevent gcc giving a warning comparison between signed and unsigned. Paul Slootman diff -ru orig/rsync-2.5.6/generator.c

patch: interrupting ssh when it's asking for a password turns offecho in the shell

2003-03-12 Thread Paul Slootman
determine how to fix this problem cleanly. I came up with a small delay before the wait on child processes, and this seems to work fine for me. AFAICS this patch shouldn't cause any trouble on other platforms in any way. Paul Slootman --- ../../orig/rsync-2.5.6/cleanup.c2003-01-27 04:35

Re: patch against manpage

2003-03-12 Thread Paul Slootman
On Wed 12 Mar 2003, jw schultz wrote: On Wed, Mar 12, 2003 at 01:27:32PM +0100, Paul Slootman wrote: This is a patch against the manpage to clarify what the --perm option does and does not do. If we are going to embellish this description it would be good to make it clear

Re: patch: typo's and gcc warnings

2003-03-12 Thread Paul Slootman
that header changes will force rebuilds. This one is clearly for maintainer convenience. Good one. Who will commit these to CVS? Will that happen automagically after posting here, of does someone need prodding? :-) Paul Slootman -- To unsubscribe or change options: http://lists.samba.org

Re: Modified --files-from patch

2003-03-24 Thread Paul Slootman
not to change the order of the files when transferring is a rather silly thing to do, but it would be nice if it could be done anyway :-) Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart

Re: [RFC] report options

2003-06-03 Thread Paul Slootman
sending a message I like the idea was appropriate... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Update included popt to version 1.7

2003-05-15 Thread Paul Slootman
popt library, here's the relevant part of the configure output: checking for poptGetContext in -lpopt... yes checking whether to use included libpopt... no So dropping it from the rsync source tree might not be a bad thing. Paul Slootman -- To unsubscribe or change options: http

rsync --daemon and logfile that can't be created

2003-11-17 Thread Paul Slootman
[512]; +sprintf(buf, logfile %.400s could not be opened, errno %d, logfname, errno); +logfname = NULL; +logit(LOG_ERR, buf); +} } } Paul Slootman -- To unsubscribe or change options: http://lists.samba.org

Re: IPv6 literal addresses on command line

2003-11-18 Thread Paul Slootman
a bit to protect the innocent.) unable to find the host and appeared, unlike BSD, to ignore the /etc/hosts file. I don't have any IPv6 addresses in my hosts file... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http

Re: IPv6 literal addresses on command line

2003-11-27 Thread Paul Slootman
or such on my system. rsync is linked with -lresolv, if that helps any... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync'd destination much larger than source

2003-11-30 Thread Paul Slootman
there are sparse files on the source? Try using --sparse as well. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync security advisory

2003-12-04 Thread Paul Slootman
older rsync's as well, or only those that are 2.5.6... As Debian provides security patches for the stable release (which contains rsync 2.5.5), I'm wondering whether an update for that is necessary. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync

Re: rsync security advisory

2003-12-04 Thread Paul Slootman
: libc6 (= 2.3.2.ds1-4), libpopt0 (= 1.7) Paul Slootman signature.asc Description: Digital signature -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: [SECURITY] [DSA 404-1] New rsync packages fix unauthorised remote code execution

2003-12-04 Thread Paul Slootman
The following announcement was made by the Debian security team: Paul Slootman Date: Thu, 4 Dec 2003 17:09:35 +0100 (CET) To: Debian Security Announcements [EMAIL PROTECTED] From: Martin Schulze [EMAIL PROTECTED] Subject: [SECURITY] [DSA 404-1] New rsync packages fix unauthorised remote code

Re: rsync --daemon fails on systems with nfs-kernel-server

2003-12-05 Thread Paul Slootman
system you will find it running on rsync's port... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Using Rsync With SSH?

2003-12-05 Thread Paul Slootman
with such and such and SSH with no pasword will not get me there. lol Well, first step is getting ssh to log you into the other system without needing a password. As that's 100% specific to ssh, I suggest you go bother some ssh list about it :-) Paul Slootman -- To unsubscribe or change options: http

Re: Prepping for a new release (2.5.8? 2.6.0?)

2003-12-15 Thread Paul Slootman
in the pre-release testing. I'll make debian packages of those... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: default --rsh

2003-12-16 Thread Paul Slootman
. I'd like to see this go into 2.6.0 if possible. Paul Slootman --- rsync-2.5.7.orig/cleanup.c +++ rsync-2.5.7/cleanup.c @@ -104,6 +104,16 @@ if (cleanup_child_pid != -1) { int status; +/* if the user hits ctrl-C while ssh is prompting for a password

Re: tty screwed up on ctrl-c

2003-12-17 Thread Paul Slootman
know what that will do... It's far more usual to trap SIGINT than SIGUSR1. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: preview release: 2.6.0pre1

2003-12-19 Thread Paul Slootman
contain more than 32 bits, I guess it was declared as size_t for some reason... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: preview release: 2.6.0pre1

2003-12-19 Thread Paul Slootman
/rsync_2.5.99pre1-1.diff.gz http://wurtel.op.het.net/rsync_2.5.99pre1.orig.tar.gz The last is identical to: http://samba.org/ftp/rsync/preview/rsync-2.6.0pre1.tar.gz It's just been renamed to comply with the versioning thing. Paul Slootman signature.asc Description: Digital signature

Re: Status of upcoming 2.6.0 release

2003-12-29 Thread Paul Slootman
I just noticed this in the rsyncd.conf manpage: .SH VERSION This man page is current for version 2\.0 of rsync I'm sure that this can be updated to 2.6.0 :-) Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http

Re: Rsync problem / Special characters

2004-01-23 Thread Paul Slootman
the contents of the files it copies specially. If it did, it would be impossible to transfer e.g. jpg images or compressed data. Both computers are configured with the Norwegian (NO) keymap. I think more (much more) detail is needed here. What versions rsync, what operating systems, etc. Paul Slootman

Re: ssh and rsyncd.conf

2004-02-25 Thread Paul Slootman
::module_name and after the transfer stop the ssh session. but that's a rather roundabout method... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: --exclude and --delete

2004-02-25 Thread Paul Slootman
, as the exclude patterns starting with / are anchored at the top of the source tree, ie. /home/user ? Or am I confused about the exclude patterns again :) Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs

Re: error writing 4 unbuffered bytes - exiting: Broken pipe

2004-03-10 Thread Paul Slootman
information to scroll through, then the quoter hasn't removed the irrevelant part of the post he's replying to. And that's caused by the lazy habit of quoting the complete post and then top-posting... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before

incorrect exclude list with -C

2004-03-24 Thread Paul Slootman
is apparently used to exclude file outside the directory where the .cvsignore file is found. Any comments? Paul Slootman On Wed 24 Mar 2004, Frank Mehnert wrote: Subject: Bug#239791: rsync: incorrect exclude list with -C From: Frank Mehnert [EMAIL PROTECTED] Date: Wed, 24 Mar 2004 11:55:16 +0100

Re: rsync 2.6.1pre-1 released

2004-03-25 Thread Paul Slootman
-gettable). The strange version number is to prevent upgrade problems when 2.6.1 comes out. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: --delete with fantasy

2004-03-30 Thread Paul Slootman
files are added, changed and deleted. I am Have a look at unison, it's designed for this sort of thing. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: deadlock in rsync protocol on AUTHREQD

2004-03-31 Thread Paul Slootman
of guest if neither USER nor LOGNAME is defined in the environment. Might nobody be a better default perhaps? Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Error?

2004-04-22 Thread Paul Slootman
be in the crontab minutes column? Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync problems from flist.c change

2004-04-23 Thread Paul Slootman
action that I have to take, with every new upstream release I check the Debian patches anyway (they get smaller everytime :-) If a new prerelease is made with this, I'll upload that to the experimental archives (like I did with the previous prereleases). Paul Slootman -- To unsubscribe or change

Re: rsync'ing large files

2004-04-23 Thread Paul Slootman
useful. I don't think that the overhead of one sqrt() per file will make much difference either way... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: [BUG] rsync 2.6.2

2004-05-10 Thread Paul Slootman
On Sun 09 May 2004, Wayne Davison wrote: (The patch you cited eliminates the combo IPv6/IPv4 socket, which is the opposite of what I want.) The patch only does that if the system can't support it anyway... thus effectively forcing the -4 option. Paul Slootman -- To unsubscribe or change

Re: rsync 2.6.1 released (including security note)

2004-04-27 Thread Paul Slootman
). Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: [PATCH] --timelimit and --stopat

2004-04-27 Thread Paul Slootman
. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Error message when trying to sync

2004-04-30 Thread Paul Slootman
refused? Then it's not an rsync problem per se. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync 2.6.1 released (including security note)

2004-05-02 Thread Paul Slootman
On Sat 01 May 2004, Albert Chin wrote: Anyone ever come up with a patch for the chroot fix against 2.5? The patch below should do it. Note that line numbers may be off. Paul Slootman --- rsync-2.5.5-orig/options.c 2002-03-19 21:16:42.0 +0100 +++ rsync-2.5.5/options.c 2004-04

Re: rsync 2.6.2 --daemon Problem

2004-05-05 Thread Paul Slootman
on mine...) If that's the root cause of the problem, skipping the IPV6 socket when that call fails should suffice. Try the followng patch. Paul Slootman --- socket.c.orig 2004-04-14 18:51:48.0 +0200 +++ socket.c2004-05-05 10:00:11.0 +0200 @@ -379,8 +379,10 @@ #ifdef

Re: rsync 2.6.2 --daemon Problem

2004-05-05 Thread Paul Slootman
(like Debian does). However, that's not really an issue for me, as this version of rsync will only go into the new distribution, not to the current stable one (which has the old kernels). So if there's a but, don't hide it, but work towards fixing it. Agreed. Paul Slootman -- To unsubscribe

Re: question about --bwlimit=

2004-05-24 Thread Paul Slootman
; ret = write(fd,buf+total,n); if (ret 0) { Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: File sync/delete question

2004-05-24 Thread Paul Slootman
a new option for rsync: Transfer all files, and remotely delete those that must have been transferred before and are not here anymore. It may be that unison will do what you want. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting

Re: two-way synchronization accross a firewall fails

2004-05-24 Thread Paul Slootman
). Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync hangs in cron (not SSH-problem)

2004-05-24 Thread Paul Slootman
commands like lsof, strace / truss to see what it's doing. The stdout/stderr of the commands should also be redirected to a tmp file somewhere, have a look if anything useful is written there. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting

Re: Bidirectional speed question

2004-05-24 Thread Paul Slootman
might be the matter. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: question about --bwlimit=

2004-05-26 Thread Paul Slootman
than one tenths of a second. So my vote is still for 100. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Rsync * files only changed/created in the last 7 days .

2004-07-02 Thread Paul Slootman
with the --files-from option. I would also like to delete on the client side what is over 14 days old but i think i can get that with a simple cron job. Indeed... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http

Re: Non-rsync backup server

2004-07-07 Thread Paul Slootman
rsync on both ends of the transfer to use rsync... It does not need to be running as a daemon, if you can ssh to the server and rsync is available on it (somewhere), then you can use rsync. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before

Re: deleting files on server side

2004-08-11 Thread Paul Slootman
/* before copying the source files to it ? Why? If you use rsync's --delete option, it will delete any files that don't exist on the sender; files that exist on both sides will benefit from rsync's algorithm and speed up the transfer. Paul Slootman -- To unsubscribe or change options: http

Re: testing rsync 2.6.3pre1

2004-08-17 Thread Paul Slootman
are working fine. I've built a Debian package(*) (uploaded to the 'experimental' distribution), and tried it on a couple of systems. It seems to work fine... (*) Debian version is 2.6.2.pre3.1-1, to prevent problems with version ordering when 2.6.3 final is released... Paul Slootman

Re: Syncing with --files-from

2004-08-19 Thread Paul Slootman
rsync to look for the file locally? Thanks, Dave. Please show the _exact_ command you are executing. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Using --keep-dirlinks : recursive symlinks problem

2004-08-23 Thread Paul Slootman
to modify the sending filesystem to correct the loop. I'd vote for detecting the trivial case of : link - . link - .. link - ../`basename $(pwd)` and perhaps link - ../anything Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http

Re: bugfix: indeterministic file choice from multiple sources

2004-08-25 Thread Paul Slootman
? Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: bugfix: indeterministic file choice from multiple sources

2004-08-25 Thread Paul Slootman
On Wed 25 Aug 2004, Dirk Pape wrote: --Am Mittwoch, 25. August 2004 10:03 Uhr +0200 schrieb Paul Slootman [EMAIL PROTECTED]: What I'm wondering is why it's a problem that the same file is randomly copied from one of a number of sources, if indeed it is the same file. The resulting

Re: rsync and tunneling via ssh

2004-08-26 Thread Paul Slootman
this is pretty unclear Also, you're connecting with ssh to localhost?! What's the point of the tunnel then? I expect you want something more like: ssh -i /home/ifao/bin/traveltest -f -C -L 2211:localhost:8730 [EMAIL PROTECTED] Paul Slootman -- To unsubscribe or change options: http

Re: rsync crashing Redhat RHEL3.0 server

2004-08-31 Thread Paul Slootman
(if there are many hardlinks across directory trees it may not be feasible to do parts separately as those hardlinks will be lost, for example). Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs

Re: rsync crashing Redhat RHEL3.0 server

2004-08-31 Thread Paul Slootman
On Tue 31 Aug 2004, Paul Haas wrote: To add swap, I use mkdir /fullpathhere dd if=/dev/zero of=/fullpathhere/swap1 bs=1M count=1024 swapon /fullpathhere/swap1 You need a 'mkswap /fullpathhere/swap1' before the swapon... Paul Slootman -- To unsubscribe or change options: http

minor typo fix for 2.6.3 pre 1

2004-09-05 Thread Paul Slootman
vanished before they could be transferred }, { RERR_TIMEOUT, timeout in data send/receive }, { RERR_CMD_FAILED , remote shell failed }, { RERR_CMD_KILLED , remote shell killed }, Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo

Re: problems with --link-dest

2004-09-07 Thread Paul Slootman
at a time, which is useful because this (here) is quite disk-intensive, and having more than one simultaneous rsync session would cause disk thrashing. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr

Re: problems with --link-dest

2004-09-07 Thread Paul Slootman
(and only listen on the backup network IP number). The other systems do in fact allow root ssh (via a key) so the integrity of the backup servers is indeed very important... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http

Re: RSync + SSH tunneling through firewall

2004-09-08 Thread Paul Slootman
...) Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

not always making hard links?

2004-09-10 Thread Paul Slootman
away when the client was killed. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: question about using rsync with inetd

2004-09-10 Thread Paul Slootman
accept the connection instead of having an rsync daemon? Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: not always making hard links?

2004-09-10 Thread Paul Slootman
? BTW, the hanging rsync process may be related in some way to a /dev/console (serial console) that's hung... ignore that for the time being. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart

Re: question about using rsync with inetd

2004-09-11 Thread Paul Slootman
, shouldn't there at least be some hint in rsync(1)? Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: question about 2.6.3pre2's --link-by-hash behaviour

2004-09-22 Thread Paul Slootman
module reference invalid: `/rsync/patches/link-by-hash.diff' Check whether the directory /cvsroot/CVSROOT exists and the script has write-access to the CVSROOT/history file if it exists. The script needs to place lock files in the directory the file is in as well. Paul Slootman

Re: question about 2.6.3pre2's --link-by-hash behaviour

2004-09-23 Thread Paul Slootman
On Wed 22 Sep 2004, Erik Jan Tromp wrote: On Wed, 22 Sep 2004 13:21:31 +0200 Paul Slootman [EMAIL PROTECTED] wrote: I had hoped to use it both for my rotating backups for my (unofficial) slackware mirror. Hmmm... For a slackware mirror I expect that it would be fine. To my eyes

Re: question about 2.6.3pre2's --link-by-hash behaviour

2004-09-23 Thread Paul Slootman
This server does not support --checksum (-c). This is a bit misleading, I first thought that it indeed didn't support it, while it's simply refusing it. Perhaps a better message would be: This server refuses the --checksum (-c) option. Paul Slootman -- To unsubscribe or change options: http

Re: question about 2.6.3pre2's --link-by-hash behaviour

2004-09-24 Thread Paul Slootman
= 0; Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: question about 2.6.3pre2's --link-by-hash behaviour

2004-09-24 Thread Paul Slootman
checksum, and I wonder why. The patch's calculated checksum is also always different to the rsync checksum. It forces the checksum-seed to 12345, although I can't see why. I get the feeling the patch may need to be rewritten from scratch... Paul Slootman -- To unsubscribe or change options: http

Re: 8 bit filenames?

2004-10-28 Thread Paul Slootman
problem. One potential problem is if the character set on the two systems is different. Because rsync does nothing with the bytes, a system that uses e.g. UTF8 and a system that uses iso8859-1 will show the same string of bytes differently if there are any 8-bit chars used... Paul Slootman

Re: Rsyncing files

2004-10-28 Thread Paul Slootman
file, it has no concept of records or such. I suggest you make some other way of generating the passwd and shadow files from different input files (system entries and user entries), so that you can transfer the files with just the user records. Paul Slootman -- To unsubscribe or change options

Re: --delete option

2004-10-30 Thread Paul Slootman
is going to do without actually doing anything. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync doesn't delete unreferenced directories.

2004-11-02 Thread Paul Slootman
on the other side. For example: [...] I realize this behaviour is probbably by design but is there a way to get rsync to delete directories no longer being backed up? Perhaps use --delete-excluded and --exclude the directory? Paul Slootman -- To unsubscribe or change options: http://lists.samba.org

Re: pb with fat FS on linux with rsync

2004-11-05 Thread Paul Slootman
of hard links. Perhaps (if it's just for a backup) it's better to use tar to write a tar file to the FAT partition. Otherwise don't use -aH, but only use those options that are possible with FAT. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync

Re: Copying Oracle data files

2004-11-11 Thread Paul Slootman
making the snapshot. That's what we did at a large oracle place where I used to work (using Solaris and a NetApp filer). Making the snapshot only takes a couple of seconds, so this has negligible impact on the performance. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org

Re: rsync --rsh not reading .ssh/config

2004-11-11 Thread Paul Slootman
read... Use a single colon, and it should be as you expect. This is covered in basically the first page of the manual. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: timestamp question

2004-11-12 Thread Paul Slootman
of memory). I ended up doing each day separately with a --link-dest pointing to the previous day... Only took 5 days :-/ Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

specifying --bwlimit together with --daemon fails

2004-11-17 Thread Paul Slootman
:-( ). Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: specifying --bwlimit together with --daemon fails

2004-11-18 Thread Paul Slootman
On Wed 17 Nov 2004, Wayne Davison wrote: See the recent discussion about this: http://www.mail-archive.com/rsync@lists.samba.org/msg11850.html I need to subscribe a gmail account to the rsync list, I didn't find that message in my own archive :-( Thanks. Paul Slootman -- To unsubscribe

patch for replacing non-printable chars in filenames

2004-11-23 Thread Paul Slootman
this in rsync (in the rwrite() function). Here's a patch. Opinions? Perhaps don't do it unconditionally, i.e. offer some way to turn it off? Paul Slootman --- log.c.orig 2004-10-04 11:51:37.0 +0200 +++ log.c 2004-11-23 17:27:29.0 +0100 @@ -180,6 +180,15 @@ buf[len] = 0

Re: patch for replacing non-printable chars in filenames

2004-11-25 Thread Paul Slootman
On Tue 23 Nov 2004, Wayne Davison wrote: On Tue, Nov 23, 2004 at 05:29:57PM +0100, Paul Slootman wrote: Here's a patch. Opinions? I think that a better place to munge the name would be in the safe_fname() routine in utils.c (which already munges newlines characters into question marks

Re: patch for replacing non-printable chars in filenames

2004-11-26 Thread Paul Slootman
On Fri 26 Nov 2004, Stefan Nehlsen wrote: On Tue, Nov 23, 2004 at 05:29:57PM +0100, Paul Slootman wrote: +/* Replace non-printing chars in the string, most probably due to + * wierd filenames. Skip the first and last chars, they may be \n */ +int i

  1   2   3   4   5   6   7   >