Clovis --
Everything under /sys is managed by the kernel, not by UDEV. So you
are correct, that sym-link was not created by UDEV.
There are changes between the kernel shipped with SLES 10 and that
shipped with SLE 11. If you have home-grown scripts (as many of us
do), you'll have to adjust them. Looks like the link you're after
changed from
/sys/devices/dcssblk/PERFOUT/block:dcssblk0
to
/sys/devices/dcssblk/PERFOUT/block/dcssblk0
(if I am reading the traffic correctly).
Off hand, I forget the expected contents, and I don't have a DCSS
handy or I could confirm this for you.
-- R; <><
Rick Troth
Velocity Software
http://www.velocitysoftware.com/
On Tue, Dec 28, 2010 at 13:49, Clovis Pereira <[email protected]> wrote:
>
> Hello, friends.
> There are one symlink in SLES10 used to find the PERFOUT dcss, that is
> missing in SLES11 SP1.
> See on SLES10:
>
> # ls -l /sys/devices/dcssblk/PERFOUT/
> total 0
> lrwxrwxrwx 1 clovis root 0 Dec 28 16:18 block:dcssblk0 ->
> ../../../block/dcssblk0
> -rw-r--r-- 1 clovis root 4096 Dec 28 16:18 save
> -rw-r--r-- 1 clovis root 4096 Dec 28 16:18 shared
> --w------- 1 clovis root 4096 Dec 28 16:18 uevent
>
> On SLES11 SP1, the reply didn't match:
>
> # ls -l /sys/devices/dcssblk/PERFOUT/
> total 0
> drwxr-xr-x 3 root root 0 Dec 28 14:31 block
> drwxr-xr-x 2 root root 0 Dec 28 20:19 power
> -rw------- 1 root root 4096 Dec 28 20:19 save
> -r-------- 1 root root 4096 Dec 28 20:19 seglist
> -rw------- 1 root root 4096 Dec 28 20:19 shared
> -rw-r--r-- 1 root root 4096 Dec 28 20:19 uevent
>
> The SYMLINK (block:dcssblk0) is missing. I think this wasn't created by
> udev,
> I test one new udev.rule without success (maybe wrong, I'm not the
> expert):
>
> # cat /etc/udev/rules.d/98-dcss.rules
>
> #
> # Rules for dcss - Clovis - Dec/2010
> # This file should be installed in /etc/udev/rules.d
> #
> SUBSYSTEM!="block", KERNEL!="dcssblk*",
> ACTION!="add",
> SYMLINK+="../../../block:%k%c"
>
> This rule runs, document the Symlink into udev DB but didn't create the
> real SYMLINK.
> Anyone know how to create the link or bypass it?
> Thanks a lot for any help...
> ______________________________________________
> Clovis
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/