Thanks a lot, Steffen (and Mark and Rick). This solves a lot of doubts. Happy New Year for all in this list. _____________________________________________ Clovis
From: Steffen Maier <[email protected]> To: [email protected] Date: 28/12/2010 18:43 Subject: Re: Finding the lost symlink in SLES11.1 Sent by: Linux on 390 Port <[email protected]> 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 [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/
