}
my $link_dir = shift @ARGV;
-(-d $link_dir) or usage;
+usage unless $link_dir;
my $prefix_length = 3;
}
# 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";