Version 0.8.7 release.
diff --git a/diskio-unix.cc b/diskio-unix.cc
index fcd10e5..1bdb77b 100644
--- a/diskio-unix.cc
+++ b/diskio-unix.cc
@@ -73,7 +73,7 @@
if (fstat64(fd, &st) == 0) {
if (S_ISDIR(st.st_mode))
cerr << "The specified path is a directory!\n";
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__APPLE__)
else if (S_ISCHR(st.st_mode))
cerr << "The specified path is a character device!\n";
#endif
@@ -104,6 +104,7 @@
#ifdef __APPLE__
// MacOS X requires a shared lock under some circumstances....
if (fd < 0) {
+ cerr << "Warning: Devices opened with shared lock will not have their\npartition table automatically reloaded!\n";
fd = open(realFilename.c_str(), O_WRONLY | O_SHLOCK);
} // if
#endif