Date: Wed, 11 Apr 2007 17:58:26 -0400 From: "Ali Mashtizadeh" <mashtizadeh@gmail.com> To: freebsd-hackers@freebsd.org Subject: ATAPI CD Insertion Message-ID: <440b3e930704111458i354a98f8g47a03ed5ca507a5@mail.gmail.com>
index | next in thread | raw e-mail
Hi Everyone, Is there a way to detect a cdrom insert/eject (in the kernel or usermode)? Or is there a way to check a media change? I know atadev->flags gets set with ATA_D_MEDIA_CHANGED under certain conditions but I want that to happen when I eject / insert the media? (maybe it already happens and I'm doing something else wrong) Thanks, -- Ali Mashtizadeh علی مشتی زادهhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?440b3e930704111458i354a98f8g47a03ed5ca507a5>
