Re: [RFC] Flat /lib/modules/`uname -r`

From: David Hinds (dhinds@valinux.com)
Date: Mon Apr 24 2000 - 14:04:53 EST


For PCMCIA, I can accommodate a lot of different things from inside
the cardmgr daemon, and I'm not averse to requiring that people get an
update for that if they want to use newer kernels. So I think the
change would be not too painful.

Part of the reason I've defaulted to using "insmod" is that older
modutils didn't know about /lib/modules/.../pcmcia, and also, people
have used PCMCIA in setups (like install disks) where they might have
insmod but not modprobe. And since it has always worked fine, there
was little reason to change it. In newer modutils where modprobe is
just a link to insmod, the modprobe/insmod issue is rather moot.

I think what I'll do is to have cardmgr try to stat /sbin/modprobe,
and if that's found, I'll use it, and rely on it to work out paths to
modules. If it is not found, I'll fall back on the old way of doing
things.

-- Dave Hinds

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:08 EST