Hi Ben,
So anyway, I'm curious when/how the long-path-problem is coming up. I
wish rdiff-backup could successfully mirror all the files in this
case, but don't see a way of doing this that's not error-prone.
(Treating them the same way as long filename files and sticking them
in a separate directory would be a bit easier.)
I used a simple shell script on a Linux ext3 filesystem:
while mkdir aaaaaaaa && cd aaaaaaaa; do true; done
The path got to nearly 8000 characters long, and although cd was giving
warnings about "getcwd: path name too long", it was still going when I
killed it.
When I try to back up the root of this huge tree with rdiff-backup, I get
the following error:
Processing changed file aaaaaaaa/aaaaaaaa/.../aaaaaaaa
Exception '[Errno 36] File name too long: 'aaaaaaaa/.../aaaaaaaaa'' raised
of class 'exceptions.OSError':
File "/usr/lib/python2.3/site-packages/rdiff_backup/robust.py", line 32,
in check_common_error
try: return function(*args)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 922,
in append
return self.__class__(self.conn, self.base, self.index + (ext,))
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 669,
in __init__
else: self.setdata()
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 693,
in setdata
self.data = self.conn.C.make_file_dict(self.path)
Hope this helps,
Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |
_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki