Re: Loading a module multtiple times

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Thu May 01 2003 - 01:22:10 EST


In message <33490.4.64.196.31.1051765837.squirrel@www.osdl.org> you write:
> Argh, I looked thru insmod.c but not modprobe.c for a solution.

Well, you *could* do:

        for i in `seq 1 9`; do
                sed "s/dummy/dumm$i/g" < dummy.ko > dumm$i.ko
                insmod dumm$i.ko
        done

But don't 8)

Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:12 EST