Rob Landley wrote: > On Thursday 02 August 2007 5:39:55 pm Stefan Richter wrote: >> The place where these symlinks live might change in the future. See >> linux-2.6.23*/Documentation/sysfs-rules.txt. > > I noticed this. I had a longish flamewar with Greg KH about this, which would > be ongoing if he hadn't stopped replying. > > It's easy to find out information like this by experimenting with sysfs. And > then they change it in future versions, and blame the user for using what > sysfs exports. Sysfs lets you peek into kernel implementation details. Hence what you see in sysfs will change all the time when the implementation is changed. It's important to realize this before making use of sysfs. Sysfs (most of it) is not a stable ABI. Never has been, never will be, never was intended to be. That's overlooked again and again. If you want to do something that requires a stable ABI between kernel and userspace, then use such a stable ABI (including the small parts of sysfs that have been declared stable and hence will remain stable). -- Stefan Richter -=====-=-=== =--- ---== http://arcgraph.de/sr/ - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html