From: Ian Beckwith Date: Sat, 23 Oct 2010 19:52:50 +0000 (+0100) Subject: reduce default maxtagdepth to 6 X-Git-Tag: debian/1.0-1~5 X-Git-Url: http://erislabs.net/gitweb/?p=id3fs.git;a=commitdiff_plain;h=f5a32bcf452c66ca9ecfffee00260baf70ed8e2e reduce default maxtagdepth to 6 --- diff --git a/lib/ID3FS/Fuse.pm b/lib/ID3FS/Fuse.pm index 94e935f..b6a5611 100644 --- a/lib/ID3FS/Fuse.pm +++ b/lib/ID3FS/Fuse.pm @@ -24,7 +24,7 @@ use Cwd; use POSIX qw(EINVAL EROFS ENOENT EOPNOTSUPP S_IRUSR S_IRGRP S_IROTH S_IXUSR S_IXGRP S_IXOTH); our ($TYPE_DIR, $TYPE_SYMLINK)=(0040, 0120); -our $DEFAULT_MAXTAGDEPTH = 10; +our $DEFAULT_MAXTAGDEPTH = 6; sub new { diff --git a/sbin/id3fsd b/sbin/id3fsd index f4f766d..9333c78 100755 --- a/sbin/id3fsd +++ b/sbin/id3fsd @@ -71,7 +71,7 @@ $fuse->run(); sub usage { die("Usage: $me [-vh] [-f ] [-t ] [--] \n". - " -t|--tagdepth=NUM\tMaximum number of tags in expression (default: 10)\n" . + " -t|--tagdepth=NUM\tMaximum number of tags in expression (default: 6)\n" . " -f|--database=FILE\tPath to database file\n" . " -v\t\t\tVerbose (repeat for more verbosity)\n". " -h\t\t\tThis help\n". @@ -140,7 +140,7 @@ Directory to mount the id3fs view of the files. Maximum number of tags in an expression. A query with many ANDs and NOTs can get quite slow. This option allows a cutoff before things get too slow, as well as providing some eventual limit when processes -recurse into the filesystem. The default is 10. +recurse into the filesystem. The default is 6. =item SI> | SI>