chiark / gitweb /
volume_id: add squashfs detection
[elogind.git] / extras / volume_id / libvolume_id / volume_id.c
index 6a900ab2818bb72e171d54954e2928ab5ca064c7..fdecf396c4abadd090dd4f0828d32153dbf660de 100644 (file)
@@ -149,6 +149,9 @@ int volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size
        if (volume_id_probe_vxfs(id, off) == 0)
                goto found;
 
+       if (volume_id_probe_squashfs(id, off) == 0)
+               goto found;
+
        return -1;
 
 found: