haiku: CD-ROM detection should report any mounted volume on a B_CD device.

Most discs only use the "raw" device, but it turns out the Haiku installation
"anyboot" images don't, and those would fail to detect here. If there's
some multi-partition disc thing and the OS mounted each separately, we should
report each of them.
This commit is contained in:
Ryan C. Gordon 2017-08-10 12:31:06 -04:00
parent 0e778b0b16
commit 1efdb62a8f
1 changed files with 0 additions and 3 deletions

View File

@ -105,9 +105,6 @@ static void tryDir(const char *d, PHYSFS_StringCallback callback, void *data)
continue;
} /* if */
if (strcmp(e.name, "raw") != 0) /* ignore partitions. */
continue;
const int devfd = open(name, O_RDONLY);
if (devfd < 0)
continue;