#include <unistd.h>
#include <string.h>
#include <errno.h>
-#include <errno.h>
#include <ctype.h>
#include <fcntl.h>
#include <sys/stat.h>
if (id == NULL)
return -EINVAL;
+ info("probing at offset 0x%llx, size 0x%llx",
+ (unsigned long long) off, (unsigned long long) size);
+
/* probe for raid first, because fs probes may be successful on raid members */
if (size) {
if (volume_id_probe_linux_raid(id, off, size) == 0)
if (id == NULL)
return -EINVAL;
+ info("probing at offset 0x%llx, size 0x%llx",
+ (unsigned long long) off, (unsigned long long) size);
+
if (volume_id_probe_luks(id, off) == 0)
goto found;
if (volume_id_probe_squashfs(id, off) == 0)
goto found;
+ if (volume_id_probe_netware(id, off) == 0)
+ goto found;
+
return -1;
found: