
Ian, Following your comment on the wlug wiki at http://www.wlug.org.nz/SysFs, I was wondering if you had any more info on what sysfs is being replaced with, and what the motives were? I've looked at all the obvious places, but don't feel like trawling through lkml archives. That said, don't go and trawl through said archives yourself if you don't know. I'll go look later on.

Daniel, My understanding is that udev is to be used for all devices (replacing hotplug) and picks up on uevents (see http://en.wikipedia.org/wiki/Udev for more detail) rather than tree structure and that sysctl is for things like selecting schedulers, turning on routing etc. I keep on seeing patches disabling different areas of sysfs and people saying yes we agree but need to wait for a full Debian release cycle. Not entirely sure how it all hangs together though. Ian On 6/25/07, Daniel Lawson <daniel(a)meta.net.nz> wrote:
Ian,
Following your comment on the wlug wiki at http://www.wlug.org.nz/SysFs, I was wondering if you had any more info on what sysfs is being replaced with, and what the motives were? I've looked at all the obvious places, but don't feel like trawling through lkml archives.
That said, don't go and trawl through said archives yourself if you don't know. I'll go look later on.
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
-- Web: http://wand.net.nz/~iam4/ Blog: http://iansblog.jandi.co.nz WAND Network Research Group

Hey,
Following your comment on the wlug wiki at http://www.wlug.org.nz/SysFs, I was wondering if you had any more info on what sysfs is being replaced with, and what the motives were? I've looked at all the obvious places, but don't feel like trawling through lkml archives.
I could be wrong about all this (I don't follow lkml) but I believe the deprecated bit is not sysfs itself, just a number of directories under the /sys tree. Reading the kernel docs for SYSFS_DEPRICATED This option creates deprecated symlinks such as the "device"-link, the <subsystem>:<name>-link, and the "bus"-link. It may also add deprecated key in the uevent environment. None of these features or values should be used today, as they export driver core implementation details to userspace or export properties which can't be kept stable across kernel releases. If enabled, this option will also move any device structures that belong to a class, back into the /sys/class hierarchy, in order to support older versions of udev. If you are using a distro that was released in 2006 or later, it should be safe to say N here. The problem is that old versions of HAL depend on these files and won't work without them. This is the reason for the "distro released in 2006 or later", all new versions of HAL work just fine without them.

On 6/25/07, Jamie Curtis <jamie(a)pointless.co.nz> wrote:
Hey,
Following your comment on the wlug wiki at http://www.wlug.org.nz/SysFs, I was wondering if you had any more info on what sysfs is being replaced with, and what the motives were? I've looked at all the obvious places, but don't feel like trawling through lkml archives.
I could be wrong about all this (I don't follow lkml) but I believe the deprecated bit is not sysfs itself, just a number of directories under the /sys tree.
I'm certainly aware of that one - I think that is the one tied up with migrating to kernel 2.6.13 and things breaking if you don't have the right version of udev which is why they put this kernel option in. I had a feeling there was more to it (I could be wrong). I'll keep my eyes peeled and search as I can. Ian -- Web: http://wand.net.nz/~iam4/ Blog: http://iansblog.jandi.co.nz WAND Network Research Group
participants (3)
-
Daniel Lawson
-
Ian McDonald
-
Jamie Curtis