[Zetaback-devel] [zetaback commit] r163 - branches/sendr

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Thu Jan 14 12:08:17 EST 2010


Author: mark
Date: 2010-01-14 12:08:16 -0500 (Thu, 14 Jan 2010)
New Revision: 163

Modified:
   branches/sendr/zetaback.in
Log:
Manually mount all cloned filesystems in case they don't do it themselveS

Modified: branches/sendr/zetaback.in
===================================================================
--- branches/sendr/zetaback.in	2009-11-17 21:18:52 UTC (rev 162)
+++ branches/sendr/zetaback.in	2010-01-14 17:08:16 UTC (rev 163)
@@ -743,6 +743,14 @@
         $out = `__ZFS__ set mountpoint=$store/$fsname $storefs/cloned/$fsname 2>&1`;
         print $out if $DEBUG;
 
+        print STDERR "Mounting all cloned filesystems:\n" if $DEBUG;
+        $fslist = `__ZFS__ list -H -t filesystem -o name | grep '^$storefs/cloned/$fsname'`;
+        foreach my $fs (split /\n/, $fslist) {
+          print STDERR " => $fs\n";
+          $out = `__ZFS__ mount $fs`;
+          print $out if $DEBUG;
+        }
+
       }
     }
   };



More information about the Zetaback-devel mailing list