[mythtv] CD/DVD always mounted so eject fails

Joe Ripley vitaminjoe at gmail.com
Fri Jun 27 14:48:20 UTC 2008


On Fri, Jun 27, 2008 at 3:31 AM, Robin Gilks <g8ecj at gilks.org> wrote:

> Manually unmounting doesn't stop anything from working on the frontend and
> it allows the eject button to work again (much better WAF then!!) so the
> question is, why does the media monitor, when it has sussed there is a
> disk in the drive but its not being used (eg sitting at the main menu)
> still keep it mounted?

The MediaMonitor code indicates that it should try to unmount the disk
if it is already mounted.  More is available through the Doxygen
manual:

http://www.miffteevee.co.uk/documentation/development/classMediaMonitor.html#5ed97f980a58a2e5035c01bd8cf46edc

Keep in mind that the function only works if the drives are known to
the MediaMonitor (i.e. they must be defined in Setup -> General ->
Page 4).

If the MediaMonitor is configured properly and still can't unmount the
drive, it might not have permission.  Only the user that mounted the
drive (or root) can unmount it.

-- 
Joe Ripley
vitaminjoe at gmail.com


More information about the mythtv-dev mailing list