Date: Fri, 15 Jun 2001 12:25:01 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Peter Pentchev <roam@orbitel.bg> Cc: arch@FreeBSD.org, audit@FreeBSD.org Subject: RE: new kldpath(8): display/modify the module search path Message-ID: <XFMail.010615122501.jhb@FreeBSD.org> In-Reply-To: <20010615150639.D94445@ringworld.oblivion.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15-Jun-01 Peter Pentchev wrote: > Hi, > > Attached is a shar of a new kld-family utility, which parses and modifies > the kern.module_path sysctl in a script-friendly way. It might be useful > in startup/shutdown scripts for programs using more than one module, > or just to allow startup scripts to specify additional module directories > (e.g. /usr/local/libexec/modules, or /usr/local/lib/au88x0). [ snip ] To me, it seems more sensible to use the same interface that ldconfig uses. I.e., kldpath /foo sets the entire path to /foo, and kldpath -m adds to the path, kldpath -r displays the current path, etc. That is just my opinion, however. I'll admit that ldconfig's interface is not always the most intuitive, but I think consistency between the two would be good. Also, I would leave -q on by default, and instead use a -v to turn on verbose mode. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010615122501.jhb>