Index: /trunk/Nebulous/Changes
===================================================================
--- /trunk/Nebulous/Changes	(revision 18453)
+++ /trunk/Nebulous/Changes	(revision 18454)
@@ -2,4 +2,5 @@
 
 0.09
+    - change "any" volume usage to corespond to changes in Nebulous::Server
     - add neb-replicate --copies option
     - fix neb-stat to work when a neb key is used that implies a storage volume
Index: /trunk/Nebulous/lib/Nebulous/Client.pm
===================================================================
--- /trunk/Nebulous/lib/Nebulous/Client.pm	(revision 18453)
+++ /trunk/Nebulous/lib/Nebulous/Client.pm	(revision 18454)
@@ -1,5 +1,5 @@
 # Copyright (c) 2004-2008  Joshua Hoblitt
 #
-# $Id: Client.pm,v 1.54 2008-05-22 01:39:41 jhoblitt Exp $
+# $Id: Client.pm,v 1.55 2008-07-10 02:38:24 jhoblitt Exp $
 
 package Nebulous::Client;
@@ -695,5 +695,5 @@
 
         # then fall back to looking for isntances on any volume
-        $locations = $self->find_instances( $key, ':any');
+        $locations = $self->find_instances( $key, '~any');
         unless (defined $locations) {
             return;
Index: /trunk/Nebulous/t/56_client_find_instances.t
===================================================================
--- /trunk/Nebulous/t/56_client_find_instances.t	(revision 18453)
+++ /trunk/Nebulous/t/56_client_find_instances.t	(revision 18454)
@@ -3,5 +3,5 @@
 # Copryight (C) 2004-2005  Joshua Hoblitt
 #
-# $Id: 56_client_find_instances.t,v 1.2 2008-05-20 03:46:11 jhoblitt Exp $
+# $Id: 56_client_find_instances.t,v 1.3 2008-07-10 02:38:24 jhoblitt Exp $
 
 use strict;
@@ -126,5 +126,5 @@
     $neb->create( "foo", "node01" );
 
-    my $locations = $neb->find_instances( "neb://node02/foo", ":any" );
+    my $locations = $neb->find_instances( "neb://node02/foo", "any" );
 
     is( scalar @$locations, 1, "found 1" );
@@ -140,6 +140,6 @@
         proxy => "http://$hostport/nebulous",
     );
-    $neb->create( "foo" );
-    $neb->replicate( "foo" );
+    $neb->create( "foo", "node01" );
+    $neb->replicate( "foo", "node01" );
 
     my $locations = $neb->find_instances( "foo", "node01" );
Index: /trunk/Nebulous/t/57_client_find.t
===================================================================
--- /trunk/Nebulous/t/57_client_find.t	(revision 18453)
+++ /trunk/Nebulous/t/57_client_find.t	(revision 18454)
@@ -3,5 +3,5 @@
 # Copryight (C) 2004-2005  Joshua Hoblitt
 #
-# $Id: 57_client_find.t,v 1.2 2008-05-20 03:46:11 jhoblitt Exp $
+# $Id: 57_client_find.t,v 1.3 2008-07-10 02:38:24 jhoblitt Exp $
 
 use strict;
@@ -52,5 +52,5 @@
 {
     # key, volume does not hold key but this works anyways ans find will fall
-    # back to looking for ":any"
+    # back to looking for "any"
     my $neb = Nebulous::Client->new(
         proxy => "http://$hostport/nebulous",
@@ -66,5 +66,5 @@
 
 {
-    # key, volume :any
+    # key, volume any
     my $neb = Nebulous::Client->new(
         proxy => "http://$hostport/nebulous",
@@ -72,5 +72,5 @@
     my $uri = $neb->create( "foo", "node01" );
 
-    my $path = $neb->find( "foo", ":any" );
+    my $path = $neb->find( "foo", "any" );
 
     ok( -e $path, "file exists" );
Index: /trunk/Nebulous/t/65_client_mounts.t
===================================================================
--- /trunk/Nebulous/t/65_client_mounts.t	(revision 18453)
+++ /trunk/Nebulous/t/65_client_mounts.t	(revision 18454)
@@ -3,5 +3,5 @@
 # Copryight (C) 2004-2005  Joshua Hoblitt
 #
-# $Id: 65_client_mounts.t,v 1.1 2008-03-21 01:53:36 jhoblitt Exp $
+# $Id: 65_client_mounts.t,v 1.2 2008-07-10 02:38:24 jhoblitt Exp $
 
 use strict;
@@ -10,5 +10,5 @@
 use Apache::Test qw( -withtestmore );
 
-plan tests => 16;
+plan tests => 18;
 
 use lib qw( ./t ./lib );
@@ -33,5 +33,5 @@
     my %row;
     # first row
-    @row{qw(mountpoint total used vol_id name path allocate available xattr)}
+    @row{qw(mountpoint total used vol_id name host path allocate available xattr)}
         = @{$mounts->[0]};
 
@@ -40,4 +40,5 @@
     is($row{vol_id},    1);
     is($row{name},      "node01");
+    is($row{host},      "node01");
     is($row{allocate},  1);
     is($row{available}, 1);
@@ -45,5 +46,5 @@
 
     # 2nd row
-    @row{qw(mountpoint total used vol_id name path allocate available xattr)}
+    @row{qw(mountpoint total used vol_id name host path allocate available xattr)}
         = @{$mounts->[1]};
 
@@ -52,4 +53,5 @@
     is($row{vol_id},    2);
     is($row{name},      "node02");
+    is($row{host},      "node02");
     is($row{allocate},  1);
     is($row{available}, 1);
