"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 majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message