From fb7e092ce9685b917e35625aaebde3c514dfad24 Mon Sep 17 00:00:00 2001 From: owsla Date: Thu, 2 Oct 2008 00:29:02 +0000 Subject: Add a warning message if extended attributes support is broken by the filesystem git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@943 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff_backup/fs_abilities.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'rdiff-backup/rdiff_backup') diff --git a/rdiff-backup/rdiff_backup/fs_abilities.py b/rdiff-backup/rdiff_backup/fs_abilities.py index 60f2cb5..a012a04 100644 --- a/rdiff-backup/rdiff_backup/fs_abilities.py +++ b/rdiff-backup/rdiff_backup/fs_abilities.py @@ -366,6 +366,13 @@ class FSAbilities: log.Log("Extended attributes not supported by " "filesystem at %s" % (rp.path,), 4) self.eas = 0 + except AssertionError: + log.Log("Extended attributes support is broken on filesystem at " + "%s. Please upgrade the filesystem driver, contact the " + "developers, or use the --no-eas option to disable " + "extended attributes support and suppress this message." + % (rp.path,), 1) + self.eas = 0 else: self.eas = 1 def set_win_acls(self, dir_rp): -- cgit v1.2.1