allocate and entry list struct up front to handle empty directories