blob: 5baeefcb3bd2becdb92253cbc0f12a2678a34354 [file] [log] [blame]
--- 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);