dm6: add comment about why we're not supporting non-ext[234] filesystems
[dupemerge] / dm6
diff --git a/dm6 b/dm6
index 9b614cdc1107d1285160f85e7c83d116aa52b01b..44dcb9130318e4cad1c007a672f98fd5e6d88303 100755 (executable)
--- a/dm6
+++ b/dm6
@@ -67,7 +67,7 @@ sub link_files {
 }
 
 my $link_dir = shift @ARGV;
-(-d $link_dir) or usage;
+usage unless $link_dir;
 
 my $prefix_length = 3;
 
@@ -104,6 +104,8 @@ sub prepare_parents {
 }
 
 # ext3 cannot handle more than 32000 links to a file.  Leave some headroom.
+# Arguably this should be configurable, but the losses are miniscule and
+# the coding for option support is not.
 my $link_count_max = 31990;
 
 $/ = "\0";