mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: "Randy.Dunlap" <rddunlap@osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Loading a module multtiple times
Date: 01 May 2003 11:09:06 +0100	[thread overview]
Message-ID: <1051783745.21168.5.camel@dhcp22.swansea.linux.org.uk> (raw)
In-Reply-To: <20030501062800.3B9652C01B@lists.samba.org>

On Iau, 2003-05-01 at 07:22, Rusty Russell wrote:
> 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)

The dummy driver expects insmod -o dummy1 dummy; insmod -o dummy2 dummy
etc to be usable. You don't normally need lots of dummy drivers nowdays
since you can give one lots of addresses



  reply	other threads:[~2003-05-01 10:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-30 21:05 Randy.Dunlap
2003-04-30 22:42 ` Kai Germaschewski
2003-05-01  2:12 ` Rusty Russell
2003-05-01  5:10   ` Randy.Dunlap
2003-05-01  6:22     ` Rusty Russell
2003-05-01 10:09       ` Alan Cox [this message]
2003-04-30 21:59 Chuck Ebbert
2003-05-01 11:54 Chuck Ebbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1051783745.21168.5.camel@dhcp22.swansea.linux.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rddunlap@osdl.org \
    --cc=rusty@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®