Date: Thu, 27 Dec 2007 14:37:13 +0200 From: Andriy Gapon <avg@icyb.net.ua> To: Joe Marcus Clarke <marcus@freebsd.org> Cc: freebsd-gnome@freebsd.org Subject: hald patch: quieter audio cd probing Message-ID: <47739C79.2080508@icyb.net.ua>
index | next in thread | raw e-mail
[-- Attachment #1 --]
With the attached patched I eliminated "Illegal mode for this track"
messages while hald probes audio cd. The idea was that if cdrom doesn't
have any data tracks then we should not try to find any volumes on it.
--
Andriy Gapon
[-- Attachment #2 --]
--- hald/freebsd/probing/probe-volume.c.orig Thu Dec 27 14:26:03 2007
+++ hald/freebsd/probing/probe-volume.c Thu Dec 27 14:27:22 2007
@@ -377,7 +377,7 @@
* is a swap partition, we probe it nevertheless in case the
* partition type is incorrect.
*/
- if (! has_children)
+ if (! has_children && ! (is_cdrom && ! has_data))
{
vid = volume_id_open_fd(fd);
if (vid)
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47739C79.2080508>
