Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2001 12:55:37 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Peter Pentchev <roam@orbitel.bg>, arch@FreeBSD.org, audit@FreeBSD.org
Subject:   Re: new kldpath(8): display/modify the module search path 
Message-ID:  <200106151955.f5FJtbT01171@mass.dis.org>
In-Reply-To: Your message of "Fri, 15 Jun 2001 12:25:01 PDT." <XFMail.010615122501.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > 
> > 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-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106151955.f5FJtbT01171>