From 55113b15afe5f61fc917c22a9d8d47f89b37c757 Mon Sep 17 00:00:00 2001 From: M.S.Colclough Date: Wed, 31 Mar 2010 18:11:00 +0200 Subject: 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 Signed-off-by: Karel Zak --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') 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 \ -- cgit v1.2.3-55-g7522