--- a/block.c | |
+++ b/block.c | |
@@ -568,8 +568,10 @@ static int _cache_load(const char *path) | |
for (j = 0; j < gl.gl_pathc; j++) { | |
struct probe_info *pr = _probe_path(gl.gl_pathv[j]); | |
- if (pr) | |
- list_add_tail(&pr->list, &devices); | |
+ if (pr) { | |
+ if (!pr->label || strcmp(pr->label, "oemdata")) | |
+ list_add_tail(&pr->list, &devices); | |
+ } | |
} | |
globfree(&gl); |