Messages in this thread | | | Date | Mon, 09 Jan 2012 10:40:10 -0800 | From | Randy Dunlap <> | Subject | Re: [PATCH] modules: sysfs - export: taint, address, size |
| |
On 01/09/2012 04:44 AM, Kay Sievers wrote: > On Mon, Jan 9, 2012 at 08:27, Rusty Russell <rusty@rustcorp.com.au> wrote: >> On Sat, 07 Jan 2012 16:44:36 +0100, Kay Sievers <kay.sievers@vrfy.org> wrote: > >>> Recent tools do not use /proc to retrieve module information. A few values >>> are currently missing from sysfs. >> >> Well, strace says lsmod still does. Is libkmod doing something >> different? > > Yes, kmod used /sys only. > > There is current code to read the size, to provide the 'lsmod' output, > but that will be removed. > >> Should we be deprecating /proc/modules? > > In the longer run, yes.
Deprecate it for udev? OK. what about other users of it?
> We still aim for leaving everything that isn't process- or > namespace-related (which, with some stretch is always process-related) > alone, and use /sys for it.
-- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***
| |