Index: LVM2.2.02.39/lib/device/dev-cache.c =================================================================== --- LVM2.2.02.39.orig/lib/device/dev-cache.c 2010-03-23 14:56:36.000000000 +0800 +++ LVM2.2.02.39/lib/device/dev-cache.c 2010-03-23 15:05:07.000000000 +0800 @@ -356,7 +356,17 @@ dirent_count = scandir(dir, &dirent, NULL, alphasort); if (dirent_count > 0) { for (n = 0; n < dirent_count; n++) { - if (dirent[n]->d_name[0] == '.') { + if (dirent[n]->d_name[0] == '.' && dirent[n]->d_name[1] == '\0') { + free(dirent[n]); + continue; + } + /* + if (dirent[n]->d_name[0] == '.' && dirent[n]->d_name[1] == '.' && dirent[n]->d_name[2] == '\0') { + free(dirent[n]); + continue; + } + */ + if (dirent[n]->d_name[0] == '.' && dirent[n]->d_name[1] != 't') { free(dirent[n]); continue; }