Hi. On Tuesday 27 June 2006 17:06, Greg KH wrote: > Oh, and as a meta-comment, why /proc? You know that's not acceptable, > right? Partly because when I did consider switching to /sys, I found it to be incomprehensible (even with the LWN articles and Documentation/ files). Jonathan's articles and LCA presentation did help me start to get a better grip, but then it just didn't seem to be worth the effort. I have two simple relatively simple routines that handle all my proc entries at the moment, so that adding a new entry is just a matter of adding an element in an array of structs (saying what variable is being read/written, what type, min/max values and side effect routines, eg). It looked to me like changing to sysfs was going to require me to have a separate routine for every sysfs entry, even though they'd all have those some basic features. Maybe I'm just ignorant. Please tell me I am and point me in the right direction. Regards, Nigel -- See http://www.suspend2.net for Howtos, FAQs, mailing lists, wiki and bugzilla info.
Attachment:
pgp0rgOaZSTBx.pgp
Description: PGP signature
- Follow-Ups:
- Re: [Suspend2][ 0/9] Extents support.
- From: Greg KH <[email protected]>
- Re: [Suspend2][ 0/9] Extents support.
- References:
- [Suspend2][ 0/9] Extents support.
- From: Nigel Cunningham <[email protected]>
- Re: [Suspend2][ 0/9] Extents support.
- From: Nigel Cunningham <[email protected]>
- Re: [Suspend2][ 0/9] Extents support.
- From: Greg KH <[email protected]>
- [Suspend2][ 0/9] Extents support.
- Prev by Date: [PATCH 001 of 14] knfsd: Improve the test for cross-device-rename in nfsd
- Next by Date: Re: [Suspend2][ 0/9] Extents support.
- Previous by thread: Re: [Suspend2][ 0/9] Extents support.
- Next by thread: Re: [Suspend2][ 0/9] Extents support.
- Index(es):