Messages in this thread | | | Date | Thu, 31 Jul 2003 15:29:00 +0200 | From | Nico Schottelius <> | Subject | Re: fun or real: proc interface for module handling? |
| |
Yaroslav Rastrigin [Thu, Jul 31, 2003 at 05:13:24PM +0400]: > > Hello! > > > > I was just joking around here, but what do you think about this idea: > > > > A proc interface for module handling: > > /proc/mods/ > > /proc/mods/<module-name>/<link-to-the-modules-use-us> > > > > So we could try to load a module with > > mkdir /proc/mods/ipv6 > > and remove it and every module which uses us with > > rm -r /proc/mods/ipv6 > > > > Well, this idea itsel is quite neat, and could sometimes save lots of time > (esp. when dealing with serious modules' deps). I would like to propose > slightly different appropach: > cp /lib/modules/2.6.0-test2/kernel/drivers/somedriver.ko /proc/modtree > [...]
sounds nice, too. With this idea the kernel would get the code directly, which is very nice.
Nico
-- echo God bless America | sed 's/.*\(A.*\)$/Why \1?/' pgp: new id: 0x8D0E27A4 | ftp.schottelius.org/pub/familiy/nico/pgp-key.new [unhandled content-type:application/pgp-signature] | |