From owner-freebsd-audit Fri Jun 15 12:44:59 2001 Delivered-To: freebsd-audit@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 170E437B415; Fri, 15 Jun 2001 12:44:47 -0700 (PDT) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.3/8.11.3) with ESMTP id f5FJtbT01171; Fri, 15 Jun 2001 12:55:38 -0700 (PDT) (envelope-from msmith@mass.dis.org) Message-Id: <200106151955.f5FJtbT01171@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: John Baldwin Cc: Peter Pentchev , arch@FreeBSD.org, audit@FreeBSD.org Subject: Re: new kldpath(8): display/modify the module search path In-reply-to: Your message of "Fri, 15 Jun 2001 12:25:01 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 15 Jun 2001 12:55:37 -0700 From: Mike Smith Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > > 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. I'd second all this, and go one further; it should be called kldconfig. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message