1 |
On Tue, 26 Jan 2010 10:19:36 -0200, luis jure wrote: |
2 |
|
3 |
> when i connect the disc, the system sees two devices: a hard disc (for |
4 |
> example /dev/sdb, that i can format with the usual tools) and a virtual |
5 |
> cd-rom (sr1 or sg1), that i'd like to erase but i don't know how to |
6 |
> manipulate. |
7 |
|
8 |
If this works like the virtual CDROMS in 3G modems, you can get rid of it |
9 |
with a udev rule that ejects the device as soon as it is detected. |
10 |
|
11 |
ATTRS{idVendor}=="1410", ATTRS{idProduct}=="5010", ACTION=="add",RUN+="/usr/bin/eject %k" |
12 |
|
13 |
was the line I used to prevent one such modem showing up as a CD. |
14 |
|
15 |
|
16 |
-- |
17 |
Neil Bothwick |
18 |
|
19 |
Sir! Romulan warbird decloaki»®õ÷üÁ NO CARRIER |