summaryrefslogtreecommitdiffstats
path: root/src/hdaccess.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-12-11 08:59:34 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-12-11 08:59:34 +0100
commit49937e2eb517f5a9ccc96a9919e7489cbe2ea999 (patch)
tree4eb0d57fbcec87e1fa40e787df26c71a01693a49 /src/hdaccess.c
parentbc7d06b24ace150953dbabf40667be28cd29e4e9 (diff)
Detect disks when compiled for Haiku (free open source operating system compatible with BeOS)
Diffstat (limited to 'src/hdaccess.c')
-rw-r--r--src/hdaccess.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/hdaccess.c b/src/hdaccess.c
index 622bdf1..ffa180d 100644
--- a/src/hdaccess.c
+++ b/src/hdaccess.c
@@ -373,6 +373,12 @@ list_disk_t *hd_parse(list_disk_t *list_disk, const int verbose, const arch_fnct
}
}
}
+#elif defined(__HAIKU__)
+ {
+#ifdef HAVE_GLOB_H
+ list_disk=hd_glob_parse("/dev/disk/*/*/master/raw", list_disk, verbose, arch, testdisk_mode);
+#endif
+ }
#else
{
/* Need to check http://mattriffle.com/mirrors/freebsd/doc/en_US.ISO8859-1/books/handbook/disks-naming.html#DISK-NAMING-PHYSICAL-TABLE */