IO errors on mountpoints cause failure with --one-file-system
I ran rsync with the --one-file-system option and observed: building file list ... readlink_stat /home/pimlott/mnt/hostname failed: Input/output error done IO error encountered - skipping file deletion Of course, this directory is a remote mount-point, and the remote host cannot be reached. I intuitively expected this error to be ignored, since the directory would not be backed up anyway. Then I realized that rsync uses stat to tell that a directory is a mount-point. Is there any other way to get this information? I found statfs(2) and statvfs(2) on my Linux system, but I couldn't get anything useful out of them (f_fsid was always 0). If there is some other approach, it would be nice to use it. That way, when rsync got an IO error, it could check whether the path is a mount-point and ignore the error when one-file-system is set. Andrew -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
sort of like a diff patch file
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, if I could create differences between revisions of the files and then email those differences, I could patch a local copy of the files that I get one-off initially on CD. Does that sound like a daft idea? Or even feasible? Or is there a better way, anyone can think of (if they are not busy :) ) cheers steve -- 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: sort of like a diff patch file
G'day, On Mon, 2004-03-29 at 13:37, Steve W. Ingram wrote: Hi there, I was wondering if there was anyway to use rsync to effectively create a 'diff' file? is this a FAQ yet? A) rdiff. -- Donovan Baarda [EMAIL PROTECTED] http://minkirri.apana.org.au/~abo/ -- 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: sort of like a diff patch file
For just creating diffs, xdelta is even better (in that it creates smaller diffs very quickly) /Greger Donovan Baarda wrote: G'day, On Mon, 2004-03-29 at 13:37, Steve W. Ingram wrote: Hi there, I was wondering if there was anyway to use rsync to effectively create a 'diff' file? is this a FAQ yet? A) rdiff. -- 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: sort of like a diff patch file
On Mon, 2004-03-29 at 15:31, Greger Cronquist wrote: For just creating diffs, xdelta is even better (in that it creates smaller diffs very quickly) xdelta requires that you have local access to the two files you want to diff... librsync's rdiff allows you to calculate a small signature which you diff against, allowing you do calculate diffs without local access to the original you are diffing against. This can be handy for many applications. We've lost the original application enquired about... but certainly xdelta should be better if you have local access to both files. -- Donovan Baarda [EMAIL PROTECTED] http://minkirri.apana.org.au/~abo/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html