chiark / gitweb /
volume_id: always check for all filesystem types and skip conflicting results
[elogind.git] / extras / volume_id / lib / fat.c
index e30318cf0967477e5931c58efd7dee6252fce42c..2d98b65b50e7e2dca2bb51aaaaab061d2d7901c0 100644 (file)
@@ -497,6 +497,7 @@ fat32:
 found:
        volume_id_set_usage(id, VOLUME_ID_FILESYSTEM);
        id->type = "vfat";
-
+       /* we think this is fat, but we make sure no other signatures are found */
+       id->force_unique_result = 1;
        return 0;
 }