[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] rdiff to SMB share?
From: |
Ben Escoto |
Subject: |
Re: [rdiff-backup-users] rdiff to SMB share? |
Date: |
Thu, 12 Jan 2006 23:28:44 -0600 |
>>>>> Cengiz Gunay <address@hidden>
>>>>> wrote the following on Thu, 12 Jan 2006 11:55:12 -0500 (EST)
>
> So rdiff-backup opens a handle to the directory itself, right after doing
> the hardlink test within the directory. This handle is never closed until
> the point we're interested in.
Great, I think this should work now:
--- rdiff_backup/rpath.py 16 Dec 2005 20:25:58 -0000 1.98
+++ rdiff_backup/rpath.py 13 Jan 2006 05:26:10 -0000
@@ -1148,6 +1148,7 @@
os.fsync(fd)
os.close(fd)
except OSError, e:
+ if locals().has_key('fd'): os.close(fd)
if e.errno != errno.EPERM or self.isdir(): raise
# Maybe the system doesn't like read-only fsyncing.
--
Ben Escoto
pgpUjoMJXN34_.pgp
Description: PGP signature
- Re: [rdiff-backup-users] rdiff to SMB share?, (continued)
- Re: [rdiff-backup-users] rdiff to SMB share?, Ben Escoto, 2006/01/10
- Re: [rdiff-backup-users] rdiff to SMB share?, Cengiz Gunay, 2006/01/10
- Re: [rdiff-backup-users] rdiff to SMB share?, Ben Escoto, 2006/01/10
- Re: [rdiff-backup-users] rdiff to SMB share?, Cengiz Gunay, 2006/01/11
- Re: [rdiff-backup-users] rdiff to SMB share?, Ben Escoto, 2006/01/11
- Re: [rdiff-backup-users] rdiff to SMB share?, Cengiz Gunay, 2006/01/11
- Re: [rdiff-backup-users] rdiff to SMB share?, Ben Escoto, 2006/01/11
- Re: [rdiff-backup-users] rdiff to SMB share?, Cengiz Gunay, 2006/01/11
- Re: [rdiff-backup-users] rdiff to SMB share?, Ben Escoto, 2006/01/11
- Re: [rdiff-backup-users] rdiff to SMB share?, Cengiz Gunay, 2006/01/12
- Re: [rdiff-backup-users] rdiff to SMB share?,
Ben Escoto <=
- Re: [rdiff-backup-users] rdiff to SMB share?, Cengiz Gunay, 2006/01/13
- Re: [rdiff-backup-users] rdiff to SMB share?, Ben Escoto, 2006/01/13
- Re: [rdiff-backup-users] rdiff to SMB share?, Cengiz Gunay, 2006/01/14
- Re: [rdiff-backup-users] rdiff to SMB share?, Ben Escoto, 2006/01/14
- Re: [rdiff-backup-users] rdiff to SMB share?, Cengiz Gunay, 2006/01/16