On 12/28/2010 08:22 PM, Richard Troth wrote:
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).

The recent distro major releases (SLES11 SP1, RHEL 6) have their kernel built without CONFIG_SYSFS_DEPRECATED_V2 [1] which seems correct and has the consequences on sysfs layout that you encountered.
This applies to all kinds of device classes, e.g. block or network [3].
Indeed the former symlink was replaced with two containing directories, the name of the outer depending on the device class. There are some rules for user space tooling working with sysfs to get it future-proof [2]. Maybe they are of help.

[1] http://lxr.linux.no/#linux+v2.6.32/init/Kconfig#L608
[2] http://lxr.linux.no/#linux+v2.6.32/Documentation/sysfs-rules.txt
[3] https://www.redhat.com/archives/anaconda-devel-list/2010-June/msg00095.html

Steffen

Linux on System z Development

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu 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/

Reply via email to