From owner-freebsd-hackers Tue Aug 3 8: 4:28 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 5E02614C29 for ; Tue, 3 Aug 1999 08:04:23 -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 796921C1E; Tue, 3 Aug 1999 23:04:19 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: "Daniel C. Sobral" Cc: Juha.Nurmela@quicknet.inet.fi, 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 23:53:23 +0900." <37A70263.BD568C3F@newsguy.com> Date: Tue, 03 Aug 1999 23:04:19 +0800 From: Peter Wemm Message-Id: <19990803150419.796921C1E@overcee.netplex.com.au> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Daniel C. Sobral" wrote: > Peter Wemm wrote: > > > > 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, on e > > device (codadev) and one vfs (coda). > > It seems to me that the one who gets the arguments is the one who > searches for it. :-) > > Either that, or the first file in the module. I don't recall right > now the precise structure of this in memory. The Plan(TM) was that things will be able to query the resource database. What I've had in mind for a while is to take the argument strings etc and merge them into the tables, but that's a rather device centric view. They would be installable either via preload args, kldload args and/or settable via some userland tool (sysctl would be ideal, but it's too limited in it's design - it can't have arbitary strings, everything has to translate to an OID first). Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message