blob: 5baeefcb3bd2becdb92253cbc0f12a2678a34354 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/block.c
2+++ b/block.c
3@@ -568,8 +568,10 @@ static int _cache_load(const char *path)
4
5 for (j = 0; j < gl.gl_pathc; j++) {
6 struct probe_info *pr = _probe_path(gl.gl_pathv[j]);
7- if (pr)
8- list_add_tail(&pr->list, &devices);
9+ if (pr) {
10+ if (!pr->label || strcmp(pr->label, "oemdata"))
11+ list_add_tail(&pr->list, &devices);
12+ }
13 }
14
15 globfree(&gl);