summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorM.S.Colclough2010-03-31 18:11:00 +0200
committerKarel Zak2010-03-31 18:12:47 +0200
commit55113b15afe5f61fc917c22a9d8d47f89b37c757 (patch)
tree404f473df0b1b4d9150ced667334c1b0d9c19360 /configure.ac
parentblockdev: reduce usage text width (diff)
downloadkernel-qcow2-util-linux-55113b15afe5f61fc917c22a9d8d47f89b37c757.tar.gz
kernel-qcow2-util-linux-55113b15afe5f61fc917c22a9d8d47f89b37c757.tar.xz
kernel-qcow2-util-linux-55113b15afe5f61fc917c22a9d8d47f89b37c757.zip
libblkid: avoid probing CDs for RAID
RAID probing of CD/DVD can yield errors because of well-known problem in reading the end of the disk with some disk/drive combinations. Borrow CD detection method from udev and skip the RAID tests for these devices. [kzak@redhat.com: - check for linux/cdrom.h in ./configure - add #ifdef around the ioctl call - call the ioctl for block devices only] Signed-off-by: Mark Colclough <m.s.colclough@bham.ac.uk> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 02777a8ea..121ac502c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -108,6 +108,7 @@ AC_CHECK_HEADERS(
linux/tiocl.h \
linux/version.h \
linux/falloc.h \
+ linux/cdrom.h \
fcntl.h \
locale.h \
stdint.h \