From owner-freebsd-hackers Tue Aug 3 7:47:29 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 02A93152BC for ; Tue, 3 Aug 1999 07:47:25 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id A75771C1E; Tue, 3 Aug 1999 22:47:09 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Juha.Nurmela@quicknet.inet.fi Cc: "Daniel C. Sobral" , Warner Losh , Chris Costello , hackers@FreeBSD.ORG Subject: Re: Proposing argv for klds and preloaded modules In-reply-to: Your message of "Tue, 03 Aug 1999 16:55:13 +0300." Date: Tue, 03 Aug 1999 22:47:09 +0800 From: Peter Wemm Message-Id: <19990803144709.A75771C1E@overcee.netplex.com.au> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Juha Nurmela wrote: > > > On Tue, 3 Aug 1999, Daniel C. Sobral wrote: > > > Actually... Loader passes a string. It seems the kldcode is passing > > argv[]. Juha, you sure you have they both working the same way (from > > a module's perspective)? > > It's splatted together, by just putting ' ' between words, > somewhere in there. Search for strbuf > > Juha Don't forget, there are zero or more modules per file. Which one gets the arguments? Coda (for example) is structured so that it has two modules, one device (codadev) and one vfs (coda). Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message