Re: [Bug 8001] Is MAXPATHLEN set properly on FreeBSD?

2011-03-10 Thread Shinichi Maruyama
I use FreeBSD on some machines. MAXPATHLEN is a system-defined value of the longest path a function such as open() can handle, so you can't just arbitrarily increase it. If your OS provides a MAXPATHLEN value that is smaller than what open() can handle, file a bug with the FreeBSD folks. If it

Re: --progress (without file names)

2010-02-25 Thread Shinichi Maruyama
I am wondering if there is an option which is similar to --progress that will not display the file names. A percentage indicator would be fine. I don't know why, but... With --out-format option, you can change the display format of the file names. Please see the man pages of rsync and rsyncd.co

Re: Query live connections?

2010-01-06 Thread Shinichi Maruyama
I'm trying to graph the number of folks we have connected at any given time, and running ps, lsof or netstat and parsing with a script is kinda clunky... Does anyone know a better way? I use net-snmp package to count some daemons. I'm sorry I don't use it for rsync daemons, but maybe some help.

port and double-colon

2004-12-05 Thread Shinichi Maruyama
erver.c(94) And --port=873 cannot be used in client mode now. I made a small sample patch. (Sorry, I didn't make a patch to the manual.) -- Yes, I'm in panic. Shinichi Maruyama ([EMAIL PROTECTED]) Index: clientserver.c ==

Re: [patch] Correct configure test for sin_len to compile on Tru64 Unix

2004-03-15 Thread Shinichi Maruyama
truct sockaddr.sin_len], +AC_CHECK_MEMBER([struct sockaddr_in.sin_len], [ AC_DEFINE(HAVE_SOCKADDR_SIN_LEN, 1, [Do we have sockaddr.sin_len?]) ], [], [ #include #include +#include ]) AC_MSG_CHECKING(struct sockaddr_storage) -- Yes, I'm

Re: [patch] Make robust_rename() handle EXDEV.

2004-02-22 Thread Shinichi Maruyama
{ - if (!robust_move(fname, backup_dir_buf)) { + if (robust_move(fname, backup_dir_buf) != 0) { rprintf(FERROR, "keep_backup failed: %s -> \"%s\": %s\n", full_fname(fname), backup_dir_buf

rsync 2.6.1cvs dumps core when preserve_hard_links and backup

2004-02-09 Thread Shinichi Maruyama
e->F_HLINDEX) has some values, but no meanings because it's only an union with file->link_u.idev. It may be if (!kept && preserve_hard_links && file->u.link) { or some ? -- Yes, I'm in panic. Shinichi Maruyama ([EMAIL PROTECTED]) -- 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: pruning old files

2002-10-21 Thread Shinichi Maruyama
bhards> > --exclude-older=SECONDs bhards> > exclude files older than SECONDs before bhards> Define "older"? bhards> Do you mean atime, mtime or ctime? I think mtime is natural like traditional find's -newer or -mtime. Of course it may good to be able to specify them, if someon

pruning old files

2002-10-21 Thread Shinichi Maruyama
jw> In the past i found that using find was quite good for this. jw> Use touch to create a file with a mod_time just before you jw> started the last sync. Then from inside $src run jw> find . -newer $touchfile -print|cpio -pdm $dest For pruning, how about to add the feature to rsync. Is it