capped maxDiskCount until maxwdir is used everywhere