What is the way in openSUSE 10.3 to create permanent symlinks in /dev? Eg I want to make symlinks like /dev/modem -> /dev/ ttyS0, /dev/dvdburner -> /dev/sr0 /dev/dvdrom -> /dev/sr
One way is in udev rules. I link /dev/gps, for example, to / dev/ttyS1, and make nice permissions with this rule:
KERNEL=="ttyS1", SYMLINK="gps", MODE="666", OPTIONS="last_rule"
I put this in a file called /etc/udev/rules.d/99-rsoft.rules
Also, if there is no /dev/ttyS1, I do not get a symlimk that points nowhere. No device, no symlink.
Thanks Robert, I was thinking something similar but was afraid that my rule would interfere with the systems own rules. And I did not know 'last_rule' option. I will give a try. Thanks for your answer. IG HÁZTARTÁSI GÉPET szeretnél? RENDELJ MOST! AEG-ELECTROLUX gépek AKCIÓS áron ORSZÁGOS kiszállítással az ELECTROLUXshop.hu-tól http://ad.adverticum.net/b/cl,1,6022,239723,284071/click.prm -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org