On Mon, 2008-01-21 at 19:07 +0100, Istvan Gabor wrote: 
> Hello list users:
> 
> 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.

-- 
Roger Oberholtzer

OPQ Systems / Ramböll RST

Ramböll Sverige AB
Kapellgränd 7
P.O. Box 4205
SE-102 65 Stockholm, Sweden

Office: Int +46 8-615 60 20
Mobile: Int +46 70-815 1696

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to