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