On Fri, 16 Mar 2012 15:44:03 +0100, Joost Roeleveld wrote: > > This is for running programs from the computer against the device, not > > autorunning programs on the device - such as initialising USB > > modems. > > How long till autorunning programs becomes "the next great thing" on > the desktop for Linux? When people want them... or when Canonical tell people they want them :( > > > That is, untill someone comes up with the "clever" idea of shoving > > > an automounter into udev. (Will it then also auto-unmount when I > > > want my CD back?) > > > > That's already been done, > > > > * sys-apps/uam > > Available versions: 0.2.1 (~)0.3 > > Homepage: https://github.com/mgorny/uam/ > > Description: Simple udev-based automounter for removable > > USB media > > This is an automounter, not autounmounter... You said automounter. > What I would like is one where a CDrom is automounted when inserted and > when I press the eject-button, the cdrom is umounted and I get my cd > back... That would require a more intelligent optical drive that sent a signal to the computer when the eject button was pressed. The computer could then run the eject command, which also unmounts the drive. Although that seem more the province of ACPI than udev. > > I also have a rule on a headless media server to run a script that > > mounts a USB stick, copies files to it, unmounts it and lets me know > > when it is done. I can mark files for copying at any time and my wife > > can just plug in a stick when she wants to copy them for viewing on a > > small, non-connected TV by her treadmill (her treadmill, I emphasise > > - I find a keyboard and trackball give me all the exercise I want). > > Why not connect that TV? ;) Because the hardware to do so would cost around £100, USB sticks cost rather less :P -- Neil Bothwick Puns are bad, but poetry is verse...