chiark / gitweb /
volume_id: add Veritas fs
[elogind.git] / extras / volume_id / volume_id / volume_id.c
index d1a6a5f0f51a50480760be6ecaf4ce136ba5b149..06496e7130d86421e698da77200a9cca919d78e2 100644 (file)
@@ -58,7 +58,7 @@
 #include "minix.h"
 #include "mac.h"
 #include "msdos.h"
-#include "ocfs2.h"
+#include "ocfs.h"
 
 int volume_id_probe_all(struct volume_id *id, uint64_t off, uint64_t size)
 {
@@ -156,9 +156,15 @@ int volume_id_probe_all(struct volume_id *id, uint64_t off, uint64_t size)
        if (volume_id_probe_minix(id, off) == 0)
                goto exit;
 
+       if (volume_id_probe_ocfs1(id, off) == 0)
+               goto exit;
+
        if (volume_id_probe_ocfs2(id, off) == 0)
                goto exit;
 
+       if (volume_id_probe_vxfs(id, off) == 0)
+               goto exit;
+
        return -1;
 
 exit: