I have spread some device_printf() through src/sys/dev/ata/atapi-cd.c and have come to the conclusion that acd_geom_ioctl() never gets called. Hence geom does not recognize media changes. The function is properly registered in the g_class acd_class. Is this functionality not yet implemented or is this a bug?