|
From: <fcr...@us...> - 2012-04-22 09:13:28
|
Revision: 822
http://safekeep.svn.sourceforge.net/safekeep/?rev=822&view=rev
Author: fcrawford
Date: 2012-04-22 09:13:22 +0000 (Sun, 22 Apr 2012)
Log Message:
-----------
Patch for bind mount issue as reported by Andres Toomsalu <an...@ac...>
Modified Paths:
--------------
safekeep/trunk/safekeep
Modified: safekeep/trunk/safekeep
===================================================================
--- safekeep/trunk/safekeep 2012-04-15 16:01:23 UTC (rev 821)
+++ safekeep/trunk/safekeep 2012-04-22 09:13:22 UTC (rev 822)
@@ -788,6 +788,9 @@
debug("Testing %s on %s" % (mountpoint, device))
if mountpoint.startswith(startpath) and device.startswith('/'):
if not mount_excluded(cfg, mountpoint):
+ if 'bind' in mountoptions.split(','):
+ warn('bind mount of snapshot not currently supported: %s' % mountpoint)
+ continue
snap = find_snapshot(cfg, device)
if snap:
ret = not do_client_snap_device(snap, bdir, mountpoint, mounttype)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|