On Fri, 20 Oct 2000, Jeff Hogg wrote:
> To the best of my knowledge, there is a program called automount that does
> most of this for you. In point of fact, while running the standard rh X
> desktop system, put a cd in the cdrom and watch it mount and show it for
> you.
You're thinking of magicdev. automount and autofs are much much older
than magicdev or even GNOME. They don't mount filesystems based on media
changes like magicdev does, but rather based on attempts to access that
filesystem. For instance, I have one of my servers set up to automount
the cdrom so that other people in the network can use windows file sharing
to access it without logging in. The cdrom isn't mounted until someone
actually tries to access /automnt/cdrom. It's unmounted when no one has
open files there for 30 seconds. magicdev doesn't do auto-unmounting. It
just mounts based on media changes and runs a specified program after
mounting, based on the type of CD (audio cd's aren't actually mounted, but
magicdev can launch your CD player). The gnome control center will allow
you to configure whether or not you'd like to open a new gmc window
displaying the contents of the CD, or run "autorun". "autorun" is an
executable file (does it have to be a shell script?) that resides in the
toplevel directory on the CD.
MSG
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list