chiark / gitweb /
volume_id: ntfs - mark as no other fs must match
[elogind.git] / extras / volume_id / lib / ntfs.c
index f861b4bf28bbb1c58d6a7fc9ee3512a6882f5f65..b322c77dbd30b77df4e38ad9d1e1ec6fc09b400b 100644 (file)
@@ -195,6 +195,7 @@ int volume_id_probe_ntfs(struct volume_id *id, uint64_t off, uint64_t size)
 
        volume_id_set_usage(id, VOLUME_ID_FILESYSTEM);
        id->type = "ntfs";
-
+       /* we think this is ntfs, but we make sure no other signatures are found */
+       id->force_unique_result = 1;
        return 0;
 }