bug in rsync write-devices patch

2012-04-04 Thread Gardner, Ryan W.
All, I tried using the write-devices patch from rsync-patches. Thanks for creating it. I hope that and copy-devices become part of mainline. When I tried to copy from a regular file to a device, with a command like rsync -write-devices -inplace rsync://10.10.10.1/share/drive.img /dev/sdb3

Re: rsync and encryption

2011-09-08 Thread Ed W
Consider an alternative solution: s3ql Ed W -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Common memory usage questions

2010-02-09 Thread W. Michael Petullo
I have started investigating the memory usage of the rsync algorithm since installing OpenWRT on a Linksys WRT160NL router with only 32MB of RAM. I have read several discussions about rsync's use of memory. Rsync consumes all of the memory on my router even when I ensure incremental scanning is us

rsync ignoring files beginning with . ??

2009-10-29 Thread Michael W. Cocke
Quick question (I hope) I'm trying to use rsync 3.0.4 and opensuse 11.1 to sync an entire /home tree. How to I get rsync to not skip files beginning with a . (period) ? Thanks! - Duct tape is like the force, it has a light side and a dark side and it holds the universe together. -- Plea

Re: LVM snapshots vs. --link-dest

2009-10-05 Thread Ed W
would have much smaller files to defrag in the case of deletes, but you would gain the packing efficiency of mbox (especially if you use compressed mailboxes, eg dovecot) Good luck Ed W -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options

How to use ionice?

2009-07-09 Thread Ed W
o the remote machine with ssh How can I get the remote server to be running it's part of the chain nice'd/ionice'd ? Thanks Ed W -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/

Re: rsync is fantastic except for one usual feature we want from it ..please help ?

2009-06-26 Thread Ed W
full sync tool. I think the OP just wants delete tracking on the remote end. Hardly an undesirable feature, but not one that rsync even tries to support out of the box. I like your scp solution though... Ed W -- Please use reply-all for most replies to avoid omitting the mailing list. To u

Re: (Not retransferring files deleted from destination)

2009-06-26 Thread Ed W
ome tasks it works better. In particular it is designed to track changes on both sides and can spot the difference between something deleted and not yet copied. Perhaps give it a whirl with the options set to only transfer left to right (ie don't send the deletes back to source) Good luck E

Re: xattrs: Permission denied?

2008-01-30 Thread Wesley W. Terpstra
On Jan 30, 2008, at 4:20 AM, Matt McCutchen wrote: On Sun, 2007-11-11 at 15:55 -0800, Wayne Davison wrote: On Sun, Nov 11, 2007 at 03:09:08PM +0100, Wesley W. Terpstra wrote: There seem to be three distinct problems. Thanks for the detailed analysis. I'll be checking into this soon.

Re: Making rsync compile under Mac OS X 10.3.9 with extended attributes

2008-01-29 Thread Wesley W. Terpstra
On Jan 26, 2008, at 10:43 PM, Matt McCutchen wrote: I poked around some more. Here is my current understanding of the xattr situation... You've got it exactly right. PS. Sorry to have gone silent wrt the mac port. I ended up solving my original problem another way and thus haven't done mu

Re: xattrs: Permission denied?

2007-12-04 Thread Wesley W. Terpstra
This bug persists in pre6. On Nov 11, 2007, at 3:09 PM, Wesley W. Terpstra wrote: mkdir y cd y touch file1 mkdir no-xattr mkdir no-xattr-stuff mkdir xattr mkdir xattr-stuff touch no-xattr-stuff/file2 touch xattr-stuff/file3 setfattr -n user.test1 -v foo . setfattr -n user.test2 -v bar xattr

Re: 2.6.9 w/ acl, xattr, and fake-super support?

2007-11-16 Thread Wesley W. Terpstra
On Nov 16, 2007, at 10:08 AM, Daniel Maher wrote: Thank you for your reply. My exact sequence is as follows: $ tar -xzf rsync-2.6.9.tar.gz $ cd rsync-2.6.9 $ patch -p1 < patches/acls.diff $ patch -p1 < patches/xattrs.diff $ patch -p1 < patches/fake-super.diff Ok. I see now what's wrong. Someh

Re: 2.6.9 w/ acl, xattr, and fake-super support?

2007-11-15 Thread Wesley W. Terpstra
On Nov 15, 2007, at 3:02 PM, Daniel Maher wrote: As i cannot get 3.0.0pre5 to work in my environment (throwing crazy errors which i've posted previously), i would like to revert to 2.6.9 . Of course, the reason i tried to use v3 in the first place was for the acl, xattr, and fake-super options

Re: rsync error?

2007-11-15 Thread Wesley W. Terpstra
On Nov 15, 2007, at 10:55 AM, Morgan Read wrote: Can anyone help me with the following error - is it serious; is the file transferred; are the other files transferred? The file is transferred as are the other files. However, rsync probably gives a non-zero exit status. lsetxattr("Documents/P

Re: xattrs: Permission denied?

2007-11-11 Thread Wesley W. Terpstra
On Nov 12, 2007, at 12:55 AM, Wayne Davison wrote: On Sun, Nov 11, 2007 at 03:09:08PM +0100, Wesley W. Terpstra wrote: There seem to be three distinct problems. Thanks for the detailed analysis. I'll be checking into this soon. I wanted to fix it, but every time I prepare a patc

Re: xattrs: Permission denied?

2007-11-11 Thread Wesley W. Terpstra
tfattr -n user.test2 -v bar xattr setfattr -n user.test3 -v baz xattr-stuff chmod -w * . cd .. rsync -aX y z If you can get this to work. Hats off to you! -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: xattrs: Permission denied?

2007-11-10 Thread Wesley W. Terpstra
On Nov 10, 2007, at 12:48 AM, Wesley W. Terpstra wrote: Things are not quite so simple b/c linux->linux works!? Ahh. No. It also breaks under linux when using non-root. [EMAIL PROTECTED]:/var/rsync$ uname -a Linux pumpkin 2.6.17.8ReadyNAS #1 Fri Sep 28 04:37:02 PDT 2007 padre GNU/Li

Re: xattrs: Permission denied?

2007-11-09 Thread Wesley W. Terpstra
Things are not quite so simple b/c linux->linux works!? This fails on osx: kiwiw:~/foo terpstra$ uname -a Darwin kiwiw.lan 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh powerpc kiwiw:~/foo terpstra$ mkdir y kiwiw:~/foo ter

Re: xattrs: Permission denied?

2007-11-09 Thread Wesley W. Terpstra
Upgraded to pre5. On Oct 21, 2007, at 5:35 PM, Wesley W. Terpstra wrote: I've found a(nother) bug with the xattr code: kiwiw:~/x terpstra$ uname -a Darwin kiwiw.lan 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh po

Linux backup server LD_PRELOAD

2007-10-22 Thread Wesley W. Terpstra
I'm not sure if anyone else is interested, but here's a tool I've been using with rsync-3.0pre2 to backup my powerpc/mac onto linux with ext3 and fake-super: gcc -Wall -O2 -shared -fPIC -o libxattr.so libxattr.c -lsqlite3 This intercepts calls from rsync that deal with extended attribu

xattrs: Permission denied?

2007-10-21 Thread Wesley W . Terpstra
I've found a(nother) bug with the xattr code: kiwiw:~/x terpstra$ uname -a Darwin kiwiw.lan 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh powerpc kiwiw:~/x terpstra$ echo test > bar kiwiw:~/x terpstra$ xattr --set broken dem

xattrs on symlinks

2007-10-17 Thread Wesley W. Terpstra
As we all know, only osx supports xattrs on symlinks. Unfortunately, not only does osx support xattrs on symlinks, *every* symlink has, at the least, com.apple.FinderInfo. When backing up to a linux system, this results in one error message per symlink: rsync: rsync_xal_set: lsetxattr("User G

Re: PATCH: preserve osx creation-date (was: Using pre2 for backing up a mac)

2007-10-16 Thread Wesley W . Terpstra
On Oct 15, 2007, at 1:55 AM, Wayne Davison wrote: On Sun, Oct 14, 2007 at 08:14:57PM +0200, Wesley W. Terpstra wrote: I've attached a patch which does this. Currently resource forks and finder info get placed into an extended attribute transparently by osx (com.apple.{ResourceFork/Finde

Re: lchmod for osx (was: Symlinks in OS X (10.4.1))

2007-10-16 Thread Wesley W. Terpstra
Here's a patch that makes link permissions work when applied to rsync CVS. I am also trying to make an lutimes alternative, but for whatever reason setattrlist silently drops my changes. lchmod-osx.patch Description: Binary data -- To unsubscribe or change options: https://lists.samba.org/

lchmod for osx (was: Symlinks in OS X (10.4.1))

2007-10-16 Thread Wesley W. Terpstra
Amazing no one else has written this... Someone with an intel mac should test this to check the uint32_t works there too (I have a powerpc). #include #include #include #include /* !!! */ #include #include int my_lchmod(const char *path, mode_t mode) { struct attrlist attrList;

Re: Symlinks in OS X (10.4.1)

2007-10-15 Thread Wesley W. Terpstra
On Oct 15, 2007, at 8:19 PM, Wayne Davison wrote: On Mon, Oct 15, 2007 at 12:18:39PM +0200, Wesley W. Terpstra wrote: I believe in osx the symlink permissions have meaning (as opposed to linux). Is there a system call that allows their permissions to be changed after they've been cr

Re: PATCH: preserve osx creation-date (was: Using pre2 for backing up a mac)

2007-10-15 Thread Wesley W. Terpstra
On Oct 15, 2007, at 5:07 PM, Victor Shoup wrote: What would be nice is if rsync supported this directly, with the shadow files (with names appropriately tweaked) stored in the same directory structure. This is essentially Apple's solution for dealing with foreign file systems that are mounte

Re: PATCH: preserve osx creation-date (was: Using pre2 for backing up a mac)

2007-10-15 Thread Wesley W. Terpstra
On Oct 15, 2007, at 12:13 PM, Wesley W. Terpstra wrote: On Oct 15, 2007, at 1:55 AM, Wayne Davison wrote: The name of the attribute was changed to com.apple.crtime96 (for the moment) . Since it is not an official com.apple.* value, I didn't want to use a name that Apple might choose i

Re: Symlinks in OS X (10.4.1)

2007-10-15 Thread Wesley W. Terpstra
On Oct 14, 2007, at 10:05 PM, [EMAIL PROTECTED] wrote: Actually, this isn't quite true. osx has no lchmod, but if you set a umask before creating the link, the permissions are set. So, as opposed to ignoring the permissions, perhaps we should teach rsync how to set them. I'll probably look at thi

Re: PATCH: preserve osx creation-date (was: Using pre2 for backing up a mac)

2007-10-15 Thread Wesley W. Terpstra
On Oct 15, 2007, at 1:55 AM, Wayne Davison wrote: On Sun, Oct 14, 2007 at 08:14:57PM +0200, Wesley W. Terpstra wrote: I've attached a patch which does this. Currently resource forks and finder info get placed into an extended attribute transparently by osx (com.apple.{ResourceFork/Finde

Re: Symlinks in OS X (10.4.1)

2007-10-14 Thread Wesley W. Terpstra
On Oct 13, 2007, at 8:56 PM, [EMAIL PROTECTED] wrote: since OS X has no support for symlink permissions Actually, this isn't quite true. osx has no lchmod, but if you set a umask before creating the link, the permissions are set. So, as opposed to ignoring the permissions, perhaps we should

PATCH: preserve osx creation-date (was: Using pre2 for backing up a mac)

2007-10-14 Thread Wesley W. Terpstra
On Oct 13, 2007, at 4:07 PM, Wesley W. Terpstra wrote: rsync 3pre2 now handles all but three items: 1. bsd flags 2. "locked flag" (supposedly finder meta-data) 3. creation date The creation date is AFAIK a mac os specific piece of meta-data and can be accessed via the set/g

Using pre2 for backing up a mac

2007-10-13 Thread Wesley W. Terpstra
With the new ACL+xattr support and fake super (I'm glad this made it in!), it seems like my dream of being able to use rsync --link-dest to backup my mac is almost within reach! If you take a look at http://blog.plasticsfuture.org/2006/03/05/the-state-of-backup-and- cloning-tools-under-mac

Re: What is the different between these rsync command

2007-09-10 Thread Aaron W Morris
on is explicitly restate the default. (If the source or > destination is an rsync daemon, "-e ssh" does make a difference: it > indicates a single-use daemon invoked over ssh.) > > Matt Unless it is a really old version of rsync where the default shell was rsh. Yue, what version

Re: Win32 port?

2007-09-05 Thread Aaron W Morris
no means am I asking anybody to do something, but... :-) Could something like APR from the Apache project be used to make rsync more platform agnositic? Would APR even be ideal? -- Aaron W Morris (decep) -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Befor

Re: Local disk to disk Rsync taking an hour longer than disk to remote

2007-07-19 Thread W Smith
Sincere thanks to everyone for their replies. Before following some of the advice offered I decided to investigate the machine filesystem further. I'm no linux expert (obviously :)) but found that of the ext3 filesystems on each disk, the dir_index feature was only enabled on the primary disk. Re

Re: Local disk to disk Rsync taking an hour longer than disk to remote

2007-07-16 Thread Aaron W Morris
On 7/16/07, W Smith <[EMAIL PROTECTED]> wrote: Back in June I posted about the trouble I've been having backing up some local directories and I'm no further ahead than back then. Link for that discussion: http://lists.samba.org/archive/rsync/2007-June/017882.html In summary: I&

Local disk to disk Rsync taking an hour longer than disk to remote

2007-07-16 Thread W Smith
Back in June I posted about the trouble I've been having backing up some local directories and I'm no further ahead than back then. Link for that discussion: http://lists.samba.org/archive/rsync/2007-June/017882.html In summary: I'm copying nearly a million small files from the main disk in a se

Re: Rsync to remote host much faster than 10k/sec speeds on local rsync

2007-06-21 Thread W Smith
Thanks for the reply. The filesystems are on different disks on the same machine. I should have mentioned in my original post that the transfer works for a while then hangs. I've read on the rsync page to run an strace and here are the results, just before the hang occurrs: select(5, NULL, [4],

Re: need help

2007-05-04 Thread Aaron W Morris
the rsyncd.conf man page. -- Aaron W Morris (decep) -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync & SSL 'for real'

2007-04-18 Thread Aaron W Morris
On 4/18/07, Andreas Kotes <[EMAIL PROTECTED]> wrote: > >> This is just a troll. just who exactly are you talking about? ;) Ahem... That would be me. That will be $10 for posting in this list. :-) -- Aaron W Morris (decep) -- To unsubscribe or change options: https://lists.sa

Re: rsync & SSL 'for real'

2007-04-18 Thread Aaron W Morris
g here. I can admit when I'm wrong. I apologize for any mis-information, I was just trying to help. -- Aaron W Morris (decep) -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync & SSL 'for real'

2007-04-18 Thread Aaron W Morris
I know... this is probably a whole different can of worms. :-) ). -- Aaron W Morris (decep) -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: HTTP encapsulated rsync??

2007-04-17 Thread Aaron W Morris
to say what the problem is with the 503 error, but it sounds like you're on the right track. -- Aaron W Morris (decep) -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: HTTP encapsulated rsync??

2007-04-17 Thread Aaron W Morris
te the request itself. Apache with mod_proxy would work as well. -- Aaron W Morris (decep) -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: HTTP encapsulated rsync??

2007-04-17 Thread Aaron W Morris
Thanks!! Robert You can use an HTTP proxy. Look at the RSYNC_PROXY environment variable in the man page. -- Aaron W Morris (decep) -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Redirect --stats to STDERR.

2007-02-07 Thread Aaron W Morris
/human_num(stats.total_size),/ /(double)stats.total_size / (total_written+total_read));/ /}/ But the problem is i have an error 23 when i use rsync. You could ju

Re: 2.6.9 , problem with acl patch

2006-12-12 Thread Wesley W. Terpstra
On Dec 7, 2006, at 3:44 AM, Wayne Davison wrote: Nope. As snowcrash pointed out in the other thread, you have to disable ACLs on OS X to get it to compile. I'm hoping that someone will be able to write a compatibility layer before too long. I'll take a crack at it eventually if someone e

Re: questions about extended attributes support across *nix & osx (hfs+) filesys

2006-11-25 Thread Wesley W. Terpstra
On Nov 25, 2006, at 4:41 PM, snowcrash+rsync wrote: > will these dependencies be resolved -- either by bundling req'd > headers with the distro, or by finding/using osx equivalents? What dependencies? The acl and xattr headers are simply part of a normal osx install with developer tools. No fink

Re: questions about extended attributes support across *nix & osx (hfs+) filesys

2006-11-25 Thread Wesley W. Terpstra
On Nov 23, 2006, at 6:27 PM, snowcrash+rsync wrote: (1) i note that the 'new' xattr/acl support applies to osx as well. is this intended to replace apple's patched support? (2) at least on v2.6.9-release, the build w/ xattr/acl patches applied seems to require a number of header

Re: questions about extended attributes support across *nix & osx (hfs+) filesys

2006-11-25 Thread Wesley W. Terpstra
On Nov 25, 2006, at 4:11 AM, Wayne Davison wrote: will these dependencies be resolved -- either by bundling req'd headers with the distro, or by finding/using osx equivalents? The main release should stick fairly close to the posix functions, and will not have any extra libraries bundled in. I

Re: rsync 2.6.9 on OS X. files with xattrs don't retain mtime.

2006-11-11 Thread Wesley W. Terpstra
On Nov 10, 2006, at 9:28 PM, Wayne Davison wrote: On Fri, Nov 10, 2006 at 04:18:51PM +0100, Wesley W. Terpstra wrote: However, if you sync a file that is identical in all respects except the resource fork (xattrs), then the mtime is wrong for the first run, but not the second (peanut->pean

Re: rsync 2.6.9 on OS X. files with xattrs don't retain mtime.

2006-11-10 Thread Wesley W. Terpstra
On Nov 10, 2006, at 3:55 PM, Wesley W. Terpstra wrote: On Nov 10, 2006, at 11:30 AM, Matt Jenns wrote: I'm really excited about the recent work on extended attributes. I've compiled 2.6.9 with xattr support, and run a few tests. It seems that if I have a file with an extended att

Re: rsync 2.6.9 on OS X. files with xattrs don't retain mtime.

2006-11-10 Thread Wesley W. Terpstra
On Nov 10, 2006, at 11:30 AM, Matt Jenns wrote: I'm really excited about the recent work on extended attributes. I've compiled 2.6.9 with xattr support, and run a few tests. It seems that if I have a file with an extended attribute ( a resource fork in this case), and I run rsync -aX , the mtime

Re: Assembly md4 algorithum.

2006-11-06 Thread Wesley W. Terpstra
On Nov 6, 2006, at 6:35 AM, Wayne Davison wrote: On Mon, Nov 06, 2006 at 03:28:52AM +, thomas david clarke wrote: Would the asm md4 implementation used by Shareaza (under the GNU GPL) be appropreate to use in order to accelerate rsync? ... It would be interesting to be able to do a speed

Re: Xattr on FreeBSD ... Good Luck ?

2006-11-02 Thread Wesley W. Terpstra
On Nov 2, 2006, at 5:10 AM, Ensel Sharon wrote: All I know is, I have a FreeBSD backup server, and some dude in creative wants to rsync his stuff up and _maintain_ the fancy little OSX meta-data, etc. So all I need to know are: 1. Is this even my problem ? Can I just stay at 2.6.6 and this

Re: Xattr on FreeBSD ... Good Luck ?

2006-11-01 Thread Wesley W. Terpstra
On Nov 2, 2006, at 2:14 AM, Wesley W. Terpstra wrote: What is your reason for wanting to get rid of the '%' from the fake stat attribute? Do some implementations not allow a % in the key? No, but others are using 'reverse-DNS naming style' and this seems to be standa

Re: Xattr on FreeBSD ... Good Luck ?

2006-11-01 Thread Wesley W. Terpstra
On Nov 2, 2006, at 1:39 AM, Wayne Davison wrote: On Thu, Nov 02, 2006 at 12:24:36AM +0100, Wesley W. Terpstra wrote: Urp! Found a bug already. Sorry. It will segfault on FreeBSD without this small little fix. One more fix was needed: the new sys_llistxattr() function needs to return &quo

Re: Xattr on FreeBSD ... Good Luck ?

2006-11-01 Thread Wesley W. Terpstra
On Nov 2, 2006, at 12:12 AM, Wesley W. Terpstra wrote: Just so you know: there's almost certainly a bug / typo / misunderstanding somewhere in there. Urp! Found a bug already. Sorry. It will segfault on FreeBSD without this small little fix. < memmove(&list[off

Re: Xattr on FreeBSD ... Good Luck ?

2006-11-01 Thread Wesley W. Terpstra
On Nov 1, 2006, at 11:23 PM, Wesley W. Terpstra wrote: Give me a half hour! :-) Drat! 10 minutes late. :-P This patch modifies also the fake_super.patch, because I removed the unused (and unportable) flags operand. Changes: remove flags from setxattr add wrappers I hope

Re: Xattr on FreeBSD ... Good Luck ?

2006-11-01 Thread Wesley W. Terpstra
On Nov 1, 2006, at 9:57 PM, Ensel Sharon wrote: I couldn't help noticing this during the configure: checking whether to support extended attributes... Xattrs requested but not linux. Good luck From what I've just been reading about FreeBSD extended attributes, it's not going to work for

Re: How to rsync only specified subdirectories in the source folder?

2006-11-01 Thread Wesley W. Terpstra
On Nov 1, 2006, at 6:00 AM, woo robbin wrote: For example,if there is ten subdirectories named sub1~sub10(each including subdirectories and files too),and file1~file10,how can I rsync only sub2 and sub 3 to the target? rsync -av --delete --include "/sub2/" --include "/sub3/" / MyFolder/ /

Re: resolving difference in interface between rsync and cp/rcp/scp

2006-11-01 Thread Wesley W. Terpstra
On Nov 1, 2006, at 6:19 AM, Erick Tryzelaar wrote: No one has any ideas? This difference you've noted is documented in man rsync (1): A trailing slash on the source changes this behavior to avoid creating an additional directory level at the destination. You can think of a

Re: unsuccessful configure with 2.6.8 and acls and extended attributes...

2006-10-31 Thread Wesley W. Terpstra
On Nov 1, 2006, at 1:09 AM, Ensel Sharon wrote: gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c clientname.c -o clientname.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c chmod.c -o chmod.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c acls.c -o acls.o acls.c

TCP_NODELAY broken

2006-10-31 Thread Wesley W. Terpstra
The file socket.c fails to include netinet/tcp.h. Since the TCP_NODELAY option is defined there, it is not compiled into rsync. This applies to osx and linux-2.4.20. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~e

Re: Storing ownership / device nodes without root

2006-10-28 Thread Wesley W . Terpstra
On Oct 28, 2006, at 12:58 AM, Wayne Davison wrote: Yeah, the error checking is not up-to-snuff yet. Sorry, when you said you'd checked it in, I assumed that meant you were done with it and the final version was committed. Now I've seen: http://archives.free.net.ph/thread/ 20061028.062640.

Re: Storing ownership / device nodes without root

2006-10-27 Thread Wesley W. Terpstra
On Oct 27, 2006, at 9:46 AM, Wayne Davison wrote: http://rsync.samba.org/ftp/unpacked/rsync/patches/fake-super.diff Does any of my patch remain?? ;-) I don't understand the logic of clientserver.c: if (lp_fake_super(i)) am_root = -1; else if (am_root < 0) /* Trea

Re: Storing ownership / device nodes without root

2006-10-26 Thread Wesley W. Terpstra
On Oct 26, 2006, at 5:45 PM, Wayne Davison wrote: I think this would be a useful thing to support. I don't like the options tied in to source/dest, though as that makes it harder to reverse a copy. I think that adding a single option, --fake-super (since we already have --super) that does not g

ACLs under osx

2006-10-26 Thread Wesley W. Terpstra
Ok, I've done some reading on this topic. osx ACLs are much more like windows than posix. You can read about them here: http://www.bresink.com/osx/193281/Docs-en/ACL.html It seems that suse and unitedlinux have defined a mapping between windows and posix acls for samba: http:/

Storing ownership / device nodes without root

2006-10-26 Thread Wesley W. Terpstra
Right now, if you want a faithful backup of a system, you must either have root access on the target machine (for chown, mknod, ...), or you have to arrange for fakeroot/pretendroot to wrap itself around the rsync server to catch all these permissions/etc and keep them in a database file. A

Re: Extended attributes in MacOS X

2006-10-26 Thread Wesley W. Terpstra
unsigned short flags) { struct file_struct *file; - #ifdef SUPPORT_ACLS + #if defined SUPPORT_ACLS || defined SUPPORT_XATTRS statx sx; #endif Also, these warnings remain: gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c log.c -o log.o log.c: In function

Re: Extended attributes in MacOS X

2006-10-25 Thread Wesley W. Terpstra
On Oct 25, 2006, at 9:10 PM, Wesley W. Terpstra wrote: As for prefixing all MacOS xattrs with "user.", we'd need to come up with some rules that would preserve the xattrs for all data paths: Mac -> Mac, Mac -> Posix -> Mac, and Posix -> Mac -> Posix. So, a Mac

Re: Extended attributes in MacOS X

2006-10-25 Thread Wesley W. Terpstra
On Oct 25, 2006, at 7:58 PM, Wayne Davison wrote: On Wed, Oct 25, 2006 at 05:57:38PM +0200, Wesley W. Terpstra wrote: My question: is this useful? should I prefix all MacOS EAs with 'user.'? I'd love to see such a patch, as this is the direction that I'd like to see rs

Extended attributes in MacOS X

2006-10-25 Thread Wesley W. Terpstra
I've written a patch to 2.6.8 which adds extended attribute support to rsync. This is not like the plethora of patches which try to separate osx meta-data into a special appledouble file (._filename). Instead, it builds on patches/xattr.patch and just adds support for the MacOS equivalent.

Rsync Problems

2006-10-21 Thread Philip W.
I have gotten an Rsync daemon set up on my Linux server. But I want to use my Windows XP computer to upload files to an Rsync module on the server. The problem is, Rsync won't work on my Windows computer. I have tried compiling various versions of Rsync in Cygwin, and nothing works. It's no

Re: Problems synchronizing (error code 12)

2006-05-22 Thread Morten W. Petersen
> This is the pertinent error. It indicates that there was a problem in > the zlib (compression) code. I assume that the file you're updating > already existing on the receiving side, correct? One way that should > avoid the problem in the compress code would be to drop the -z option. > Another

Problems synchronizing (error code 12)

2006-05-22 Thread Morten W. Petersen
Hi, I have a problem with rsync, where the process stops with the message inflate (token) returned -5 rsync error: error in rsync protocol data stream (code 12) at token.c(478) [receiver=2.6.8] rsync: writefd_unbuffered failed to write 4092 bytes [generator]: Broken pipe (32) rsync error: error i

Re: Versioning in rsync

2006-04-03 Thread W
Thanx for clarification. W. On Fri, 31 Mar 2006 13:14:55 -0500, "Matt McCutchen" <[EMAIL PROTECTED]> said: > On Fri, 2006-03-31 at 19:38 +0200, W wrote: > > When syncing files from client to server, one would have on server, for > > example, three last verisons of

Re: Versioning in rsync

2006-03-31 Thread W
When syncing files from client to server, one would have on server, for example, three last verisons of synced files. On Tue, 21 Mar 2006 19:38:33 -0500, "Matt McCutchen" <[EMAIL PROTECTED]> said: > On Fri, 2006-03-17 at 15:12 +0100, W wrote: > > I've seen that

Versioning in rsync

2006-03-17 Thread W
I've seen that there were few ideas to build versioning in rsync, but I could not find anything about it in rsync's "TO-DO" list. What is current status of versioning support in rsync? WW -- W [EMAIL PROTECTED] -- http://www.fastmail.fm - Faster than the air-

Re: rsync error at the end of a transfer

2005-11-08 Thread James W. Beauchamp
Wayne; Thanks - yep its an old version: rsync-2.5.7-2.legacy.9 on RedHat 9. I guess I'm going to have to try to find an updated package or compile from source unless you have another idea. Thanks! James Wayne Davison wrote: On Tue, Nov 08, 2005 at 09:33:36AM -0500, James W. Beau

rsync error at the end of a transfer

2005-11-08 Thread James W. Beauchamp
fresh copies of files in there, it will work the first time but not after that. I'm stumped. Any help is welcomed. Thanks James -- ---If you ain't the lead dog, the scenery never changes BE SURE TO REMOVE THE OBVIOUS ANTI-SPAM STUFF IN MY RETURN ADDRESS James W. Beaucha

rsync "-I" vs. "-c"

2004-08-01 Thread Linda A. W.
If I use the "-I" to ignore date and size as quick-check methods of determining change, what method does it use to determine difference? If it falls back to checksumming the entire file, maybe the manpage might warn that this would be as expensive as using the "-c" option...or not depending on

Re: question

2004-06-07 Thread Aaron W Morris
i key" ..etc etc does not work thx bye Have you tried the RSYNC_RSH environment variable yet? -- Aaron W Morris <[EMAIL PROTECTED]> (decep) -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

checksum mismatch???

2004-04-27 Thread Markus W . Weissmann
arkus --- Markus W. Weissmann http://www.mweissmann.de/ -- 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: --suffix problem - possibly bug?

2004-04-07 Thread Steve W. Ingram
50 minutes for investigation *and* a patch!? Holy cow! Yeah, Mr Gates, that's the advantage of companies like yours; the support of your software. I mean, you just don't know where to get support on free software and what you do get, is er... oh hang on a minute! Amazing Wayne, just amazing.

sort of like a diff patch file

2004-03-28 Thread Steve W. Ingram
Hi there, I was wondering if there was anyway to use rsync to effectively create a 'diff' file? I have a situation where I don't have a network connection to certain files that are multi-gigabyte and binary (mainly), but they vary little. In order for me to have an up-to-date copy of the files,

RE: Deleted files

2004-02-24 Thread Walls Rob W Contr 75 CS/SCBS
rsync limits? Thanks, Rob Walls -Original Message- From: jw schultz [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 5:30 PM To: [EMAIL PROTECTED] Subject: Re: Deleted files On Mon, Feb 23, 2004 at 05:04:00PM -0700, Walls Rob W Contr 75 CS/SCBS wrote: > Thought my trouble

Deleted files

2004-02-23 Thread Walls Rob W Contr 75 CS/SCBS
Thought my troubles were fixed, but files disappeared again and reappeared after a few dozen rsync cycles. I am mapping a Win2K directory to Linux with Samba. That mounted directory is then Rsynced to another Linux box on a schedule (Linux to Linux, because I can't run rsync on the windows machine)

Shell or rsync issue?

2004-02-20 Thread Aaron W Morris
quot;remotedirectory/file1", "remotedirectory/file2", etc. You can fix it with: rsync -rptv [EMAIL PROTECTED]::module/remotedirectory/. /local/directory/ (notice the ".") which is not a big problem, but not expected. What is the root cause behind this? Using rsync

RE: Erratic Trouble rsyncing between windows share and linux

2004-02-18 Thread Walls Rob W Contr 75 CS/SCBS
spect that rsync was working fine, but there must be some odd subtleties in file attributes or even file size issues in the way I'm feeding rsync the source directory. Rob Walls -Original Message- From: Walls Rob W Contr 75 CS/SCBS [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 17,

Erratic Trouble rsyncing between windows share and linux

2004-02-17 Thread Walls Rob W Contr 75 CS/SCBS
I am trying to rsync between two linux boxes, but one of the linux boxes is using samba to map a share from a windows SAN onto it's file system. Rsync quit working properly when I changed the source directory from a local ext3 filesystem to the windows share mapped onto the filesystem. This setup m

Rsync doesn't appear to handle large files

2004-02-06 Thread Buwalda, Mark W
I just started using rsync version 2.5.6 on sun solaris 8. In trying to mirror a large ufs filesystem, I've noticed that Rsync does not copy large files, specifically any file greater Than 2 GB. All other files in the filesystem were mirrored properly. Is this a bug/limitation of rsync on solar

Re: rsyncing individual files

2004-01-14 Thread Aaron W Morris
ying the file to the /creative/ directory (not the subdirectories) because you have not specified rsync to use relative paths (-R). Someone correct me if I am wrong. -- Aaron W Morris <[EMAIL PROTECTED]> (decep) -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync

Re: Bug on cygwin? (rsync 2.5.7v26, problem?)

2003-12-22 Thread Linda W
On Saturday 20 Dec 2003 13:18, Douglas Beethe wrote: rsync -a xyz //somehost/abc # Source: WinXP, Target: Win2K I noticed the snippet in the above post using the "//" notation. Is that notation supposed to work? I came off the cygwin list where I reported a problem in running an rsync

--disable-ipv6: configure sits at "checking whether defines needed by getaddrinfo exist..."

2003-10-01 Thread Frédéric L. W. Meunier
It just sits at "checking whether defines needed by getaddrinfo exist..." and the CPU usage increases until I kill it. ps reported fredlwm 23258 99.9 0.0 1340 328 pts/3R20:07 1:05 yes I'm compiling current CVS with builddir != srcdir under Linux 2.6.0-test6. I don't enabled IPV6 in

Re: 6c6c

2003-03-04 Thread Philipp W.
>> i think stdout as >> rsync -avvP MCI/ MCI2 --stats --delete 1>1.txt >> doesn't give me the 6c6c on the command line nor in the 1.txt >> >> rsync -avvP MCI/ MCI2 --stats --delete 2>1.txt >> leaves an empty 1.txt. > > If that is the right syntax for your shell (it is for bash) > then it isn't comi

Re: 6c6c

2003-03-04 Thread Philipp W.
>> i think stdout as >> rsync -avvP MCI/ MCI2 --stats --delete 1>1.txt >> doesn't give me the 6c6c on the command line nor in the 1.txt >> >> rsync -avvP MCI/ MCI2 --stats --delete 2>1.txt >> leaves an empty 1.txt. > > If that is the right syntax for your shell (it is for bash) > then it isn't comi

Re: Capturing output

2003-03-04 Thread Aaron W Morris
It may be helpful to capture STDERR with STDOUT. my $message = `/usr/bin/rsync --rsh=/usr/local/openssh/bin/ssh -avu $directory $destination 2>&1`; See: http://perldoc.com/perl5.8.0/pod/perlop.html#%60STRING%60 At 05:47 PM 3/4/2003 +, you wrote: Hi folks, I am running rsync via a perl scri

Re: 6c6c

2003-03-04 Thread Philipp W.
> However RH7.3 would i think have a very old version of > rsync. I'd start by upgrading. Certainly there isn't much > value of anyone spelunking the current code to fix a problem > that might already be fixed. it was 2.5.4, now i compiled 2.5.6 with the same issues... > You didn't say if this

  1   2   >