Index: trunk/DataStore/scripts/dsget
===================================================================
--- trunk/DataStore/scripts/dsget	(revision 19602)
+++ trunk/DataStore/scripts/dsget	(revision 19617)
@@ -3,5 +3,5 @@
 # Copyright (C) 2006-2008  Joshua Hoblitt
 #
-# $Id: dsget,v 1.31 2008-09-18 23:39:36 jhoblitt Exp $
+# $Id: dsget,v 1.32 2008-09-19 22:14:18 jhoblitt Exp $
 
 use strict;
@@ -179,4 +179,9 @@
         or die "Nebulous can't create key $filename";
 
+    # user.copies is always set to at least 2
+    my $user_copies = 2;
+    if (defined $copies) {
+        $user_copies = $copies if $copies > 2;
+    }
     $neb->setxattr($filename, "user.copies", 2, "create")
         or die "Nebulous can't set xattr on key $filename";
@@ -191,5 +196,5 @@
     close($fh) or die "can't close nebulous filehandle: $!";
 
-    # make any required copies
+    # make any required IMMEDIATE copies
     if (defined $copies and $copies > 1) {
         foreach (1 .. ($copies - 1)) {
