On Wed, Mar 28, 2007 at 08:41:38PM -0400, Bill Nottingham wrote: > Greg KH ([EMAIL PROTECTED]) said: > > If you follow the rules in Documentation/ABI/testing/sysfs-class your > > program will not have any problems. > > Oh, of *course*. We add interfaces and then claim years later, > after code has been written, "Oh, you shouldn't be using that!" in > documentation. Meanwhile, such code using the old interface will still > a) continue to compile b) continue to run without any sort of warnings. > > If interfaces have to change, so be it. But changing the rules for > using them years after it's implemented and then claiming "you didn't > read the instructions" is pretty lame.
That documentation has been in the kernel tree for almost a full year: commit c18f6365fdbaf30611a8822afcd7097865dcaa32 Author: Greg Kroah-Hartman <[EMAIL PROTECTED]> Date: Thu Apr 27 14:10:12 2006 -0700 [PATCH] Add kernel<->userspace ABI stability documentation And Kay and I have been saying to not to rely on directories for over two years now... Anyway, yes, older code should still "just work" if you enable the CONFIG_SYSFS_DEPRECATED config option in the kernel, that is what it is there for. If you have any problems with that option enabled, please let me know and I will be glad to fix it up. thanks, greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/