|
From: | Wolfgang Rohdewald |
Subject: | [Duplicity-talk] a little bugfix |
Date: | Thu, 10 Feb 2011 05:00:30 +0100 |
User-agent: | KMail/1.13.5 (Linux/2.6.35-25-generic; KDE/4.6.0; x86_64; ; ) |
Hi, after trying rmdir on a samba share, I got a nonkillable process and a not-accessible /mnt: d????????? ? ? ? ? ? mnt/ now duply dies when trying to backup such a system. Which can easily be fixed by adding ENODEV as an error to be catched here: --- oldpath 2011-02-10 04:57:57.000000000 +0100 +++ path.py 2011-02-10 04:52:23.000000000 +0100 @@ -491,7 +491,7 @@ self.stat = os.lstat(self.name) except OSError, e: err_string = errno.errorcode[e[0]] - if err_string == "ENOENT" or err_string == "ENOTDIR" or err_string == "ELOOP": + if err_string == "ENOENT" or err_string == "ENOTDIR" or err_string == "ELOOP" or err_string == "ENODEV": self.stat, self.type = None, None # file doesn't exist self.mode = None else: -- Wolfgang |
[Prev in Thread] | Current Thread | [Next in Thread] |