Mailinglist Archive: opensuse (4626 mails)

< Previous Next >
Re: [opensuse] disappearing dev links
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Wed, 17 Jan 2007 04:01:56 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0701170337290.31739@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Tuesday 2007-01-16 at 20:01 -0600, Darryl Gregorash wrote:

> 9.0 came with a 2.4 kernel; 9.3 does not.
>
> As for /lib/udev/, it is also not present in 9.3. After half an hour of
> poking around the udev stuff there is on my system, I am still no closer
> to figuring out how to specify which device nodes are to be created.
> Perhaps the files in /etc/udev/rules.d/ are relevant.

There is an udev system in 9.3, but it works quite different than in 10.1
or 10.2.

In 9.3 to create, for instance, symbolic links to dvd, cdrom, etc, we
edited "/etc/udev/rules.d/20-cdrom.rules" like this:

BUS="ide", ID="1.0", SYSFS{removable}="1", SYMLINK="dvdrecorder dvdram dvd"
BUS="ide", ID="1.1", SYSFS{removable}="1", SYMLINK="cdrecorder cdrom"
#

In 10.1 it is in /etc/udev/rules.d/65-cdrom.rules, with an slightly
different syntax:


SUBSYSTEM=="block", ENV{ID_PATH}=="pci-0000:00:1f.1-ide-1:0", SYSFS{removable}=="1", SYMLINK+="dvdram cdrom dvd cdrecorder"


I don't know where the "/dev/modem" symlink is specified in 9.3, but Yast
created it, as far as I remember. I think there was a "static" file
somewhere, but that one was for forcing creation of nodes, not symlinks.



- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFFrZGztTMYHG2NR9URAhApAJ9HX2cNBpBaiicMCO0WiI6pHOlrcwCff+kI
NGCJB9yXR/IADnhSjNOE6Hk=
=PX5v
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups