summaryrefslogtreecommitdiffstats
path: root/src/hdaccess.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-08-09 09:57:52 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2014-08-09 09:57:52 +0200
commit1643d9e65b28330eac72676f479b77d7e850f033 (patch)
treeb00710f6193bca4f26ab59e399e425fe5a21a14b /src/hdaccess.c
parent6c65c05bcfa1abebc16ead4cd834dad3a854eeed (diff)
scan for Linux Xen /dev/xvd? device
Diffstat (limited to 'src/hdaccess.c')
-rw-r--r--src/hdaccess.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hdaccess.c b/src/hdaccess.c
index 22f10b6..8e7799a 100644
--- a/src/hdaccess.c
+++ b/src/hdaccess.c
@@ -369,6 +369,8 @@ list_disk_t *hd_parse(list_disk_t *list_disk, const int verbose, const int testd
list_disk=hd_glob_parse("/dev/sr?", list_disk, verbose, testdisk_mode);
/* Software (ATA)Raid configured (disk level) via dmraid */
list_disk=hd_glob_parse("/dev/dm-*", list_disk, verbose, testdisk_mode);
+ /* Xen virtual disks */
+ list_disk=hd_glob_parse("/dev/xvd?", list_disk, verbose, testdisk_mode);
#endif
}
#elif defined(TARGET_SOLARIS)