Re: [mythtv-users] Automount confusion

2005-12-03 Thread chris
On Sat, Dec 03, 2005 at 05:25:53PM +, jonny Linux wrote:
> Yes, I think I misunderstood what was supposed to happen. I thought if I did:
> ls /mnt/auto
> it would show the new directory "cd"
> 
> Except, that doesn't happen because you're not actually accessing the
> mountpoint.
> 
> However, if I type:
> ls /mnt/auto/cd
> The DVD drive spins mounts the disc and eventually lists the contents of the
> DVD.

You may be interested in the "--ghost" option described in the automount
man page.  It causes autofs to create the target directory as soon as
the daemon starts, but not mount it unless accessed.  That way the path
would be available all the time as per your assumption.

-- 
Joke template: Three guys walk into a bar. One of them is a wee bit
stupid, and the whole scene unfolds with a tedious inevitability.
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Automount confusion

2005-12-03 Thread jonny Linux

Your mount point is "/mnt/auto" and your key is "cd", so try using
/mnt/auto/cd and you should get results.
Yes, I think I misunderstood what was supposed to happen. I thought if I did:

ls /mnt/auto

it would show the new directory "cd"

Except, that doesn't happen because you're not actually accessing the mountpoint.

However, if I type:
ls /mnt/auto/cd
The DVD drive spins mounts the disc and eventually lists the contents of the DVD.

Jonny
 
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Automount confusion

2005-12-03 Thread mythtv
jonny Linux wrote:
> to view videos from a DVD using mythvideo. I'm trying to use automount,
> but
> whatever I do, nothing seems to happen. I have a DVD-RW on hdb, and in
> /etc/auto.misc I have:
> cd-fstype=iso9660,ro,nosuid,nodev :/dev/hdb
>
> in /etc/auto.master I have:
>
> /mnt/auto  /etc/auto.misc --timeout=60
>
> If I start the autofs service, and put in a DVD, nothing happens. The
> /mnt/auto directory is empty.

I just happened to be doing the same thing a few minutes ago. The man page
for auto.master reads:

  "For  indirect  automount  maps  access to an automounted file system is
  customarily done using the path scheme:

  /mountpoint/key/path/file"

Your mount point is "/mnt/auto" and your key is "cd", so try using
/mnt/auto/cd and you should get results.


Roy

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] Automount confusion

2005-12-03 Thread jonny Linux
Hi,

I'm confused about where mythtv can help me here, and what I need to
set up myself. I have my mythtv backend and frontend on a FC3 system,
and I'd like to view videos from a DVD using mythvideo. I'm trying to
use automount, but whatever I do, nothing seems to happen. I have a
DVD-RW on hdb, and in /etc/auto.misc I have:
cd    -fstype=iso9660,ro,nosuid,nodev :/dev/hdb

in /etc/auto.master I have:

/mnt/auto  /etc/auto.misc --timeout=60

If I start the autofs service, and put in a DVD, nothing happens. The /mnt/auto directory is empty.

I can't find any logs for automount.

Also, does myth's monitor CD/DVD make any difference? Will it replace the need for automount?

Thanks,

Jonny
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users