albrow n00b
Joined: 07 Jun 2002 Posts: 56 Location: United Kingdom
|
Posted: Wed Jan 08, 2003 10:17 am Post subject: Automount/autorun - a different approach |
|
|
I'm one of the many people trying to design a Linux-based set-top movie player. I've pretty much got it sussed except for one thing - some form of automount/autorun facility. I'm not talking the standard supermount method (mount on request). Let me explain:
1. On inserting a CD, the Linux box should automatically mount it.
2. Once the drive is mounted, a script should automatically run (as root).
3. I don't want it to auto-unmount, only unmount on request. (Usage of the eject button on the drive would be a happy bonus, but isn't necessary. A shell command will do.)
I'm effectively looking for a MacOS / WinXP mounting hybrid. I really don't think automount will do it, although if anyone wants to prove me wrong...
Any ideas, people?
Alex |
|