[mythtv-commits] Ticket #4455: isMount() bug in MediaMonitor
MythTV
mythtv at cvs.mythtv.org
Thu Jan 10 19:47:45 UTC 2008
#4455: isMount() bug in MediaMonitor
---------------------+------------------------------------------------------
Reporter: stuartm | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: high | Mlocked: 0
---------------------+------------------------------------------------------
MythMediaDevice::isMounted compares the device name for our mount against
the list in the mounts file. However it doesn't account for symlinks
between devices.
/dev/cdrom is symlinked to /dev/hdc
/dev/cdrom is mounted to /mnt/cdrom, but the mounts file shows /dev/hdc =>
/mnt/cdrom
isMounted() looks for /dev/cdrom and can't find it, so fails. The
MediaMonitor then gets stuck in a loop trying but constantly failing to
mount the device.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4455>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list