[mythtv-users] mtd and autofs

Brian Wood beww at beww.org
Thu Mar 30 02:57:08 UTC 2006


On Mar 29, 2006, at 6:49 PM, James C. Dastrup wrote:

>> Chris Hubball wrote:
>>> Hello,
>>>
>>> I've installed autofs as I'm trying to make the eject button my  
>>> DVD drive
>>> work if the drive isn't in use.
>>>
>>> This all seems to work fine, except if I have mtd running.  It  
>>> looks like
>>> mtd keeps polling the drive and hence autofs never times out.
>>>
>>> Is there anyway to fix this?
>>>
>>> I guess an option would be for mtd only to run when I'm actually
>>> importing a DVD - is this possible?
>>>
>>> Thanks,
>>> Chris.
>>>
>>>
>> I've noticed the same behavior I'm not sure if its a bug or just poor
>> design of mtd.  It is very annoying to have to keep killing and
>> restarting mtd when ripping multiple DVDs.  But I love Myth so I'm
>> willing to deal.
>>
>
> Don't use autofs on your DVD drive. If you just refer to it as /dev/ 
> hdc
> (or /dev/dvd or whatever device it is) then no need to mount it, and
> therefore no eject problems. I rip and play DVD's all the time and  
> I have
> no problems ejecting a long as it's not in use.


mtd hangs on to my dvd disk, but only if I use "iso" type rip. If I  
use "perfect" I can eject the disk either manually or by the "eject"  
command, but after an iso rip only killing mtd will allow an eject by  
any means. I discovered this with fuser /dev/hdc after an iso irp.

Not really a problem for me as I normally use only "perfect" rips,  
but I thought I'd add it to this discussion in case it might help  
determine the underlying problem.

I do not use autofs.


More information about the mythtv-users mailing list