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

From: Michael Riepe (michael@stud.uni-hannover.de)
Date: Fri Apr 28 2000 - 10:01:48 EST


On Tue, Apr 25, 2000 at 11:50:00PM +1000, Andrew Morton wrote:
> Olaf Titz wrote:
[...]
> > "alias autofs autofs4" does the same. What about a weak aliasing
> > facility for modprobe? Use the alias if present, then try the original
> > name?
>
> Ask and ye shall sort-of receive. Keith's words:
>
> :Try this
> :
> :probe eth0 3c575_cb 3c59x

Unfortunately, a line like `probe autofs autofs4 autofs' will put
modprobe into an endless loop if autofs4.o is missing (it looks up
`autofs' recursively, until the stack overflows). My workaround is:

        probe autofs autofs4 autofs-alias
        alias autofs-alias autofs

but IMHO this should be fixed in modprobe.

-- 
 Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
 "All I wanna do is have a little fun before I die"

- 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:16 EST