chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
volume_id: always check for all filesystem types and skip conflicting results
[elogind.git]
/
extras
/
volume_id
/
lib
/
fat.c
diff --git
a/extras/volume_id/lib/fat.c
b/extras/volume_id/lib/fat.c
index e30318cf0967477e5931c58efd7dee6252fce42c..2d98b65b50e7e2dca2bb51aaaaab061d2d7901c0 100644
(file)
--- a/
extras/volume_id/lib/fat.c
+++ b/
extras/volume_id/lib/fat.c
@@
-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;
}