[BusyBox] [PATCH] fix lsmod for kernel-2.6
Rob Landley
rob at landley.net
Tue May 3 23:37:27 UTC 2005
On Tuesday 03 May 2005 06:09 pm, Mike Frysinger wrote:
> On Tuesday 03 May 2005 10:01 am, Takeharu KATO wrote:
> > I found that lsmod in busybox does not support linux-2.6.
> > I fix this issue(it is caused by changes of /proc/modules format).
> > If you use lsmod in busybox with kernel-2.6, please use this patch.
>
> it works well enough for me, why is this patch needed ? no the output isnt
> pretty, but who cares, this is supposed to be a tiny thing
Well, presumably since it's #ifdefed out you could get the ugly output by
undefining the symbol. Unfortunately, the same symbol is used for insmod 2.6
support, isn't it?
As I said, I don't use this bit. I mainly verified that it compiled...
Rob
More information about the busybox
mailing list