--- ./src/store_dir.cc	2012-12-10 01:53:26.000000000 -0800
+++ ./src/store_dir.cc	2012-12-25 16:34:07.381127294 -0800
@@ -907,6 +907,10 @@
 void
 StoreHashIndex::create()
 {
+    if(Config.cacheSwap.n_configured == 0) {
+        debugs(0, 0, "No cache_dir stores are configured.");
+    }
+
     for (int i = 0; i < Config.cacheSwap.n_configured; ++i) {
         if (dir(i).active())
             store(i)->create();
