/dev/modem symlink
When I snap a PCMCIA modem into my notebook it sees it properly and makes a symlink /dev/modem -> /dev/ttyS3. Grand. Perfect. It's exactly what I need. The problem is that when I unplug the modem it happily destroys the link - just as it's supposed to do. Unfortunately I'd like to link it to another device if the PCMCIA modem is removed. The reason being that I'm not the only one who uses the notebook and it's not possible to train the other users to change the device setting for the dialer/ppp apps. Having the /dev/modem point to the active modem location is easier. (/dev/ttyS0 in this case).
If I create the link before the card is inserted it does not get replaced when the card is ejected.
I've been grep'ing and browsing through all the .conf files for both the serial devices and the pcmcia devices and I still can't find it!
Am I barking up the wrong tree here?
|