On Tue, Oct 23, 2007 at 08:21:54AM +0530, S h i v wrote: > Will the configuration's in a package be query-able, the query > outputting the configuration options with possible values? > $ pkg -q foo
That'd be a great addition to the output of pkg info, yes. > I suppose, the packaging provides for associated description along > configurable parameters (something configure script with different > configurable parameters). You mean, that there's a description for the filters? Or that there's a description for each package? Each package can have an arbitrary amount of metadata associated with it. One of those pieces can be a description. Currently, our WOS importer sticks the NAME field from the svr4 package in there, though eventually we'll want both a short summary and a longer piece of text. As for the filters, the only documentation will be in the man pages. While there will be some action tags which will be used exclusively for filtering, filters work on arbitrary action tags. Many tags will be documented, but likely not all, and you'll be free to add your own tags for whatever purpose you choose. > What is pkg_fmri? > I checked the man pages in the repo, the slides from the summit, but > couldn't make out what the term was meant. > smf' already uses the term as "Fault Managed Resource Identifier". Is > this term overloaded for pkg? It's all part of the same world -- think of an FMRI as representing a fault boundary -- a system component which can, in some ways, be thought of as a single unit, like a FRU would be in the hardware world. FMA and SMF already use FMRIs, and now IPS does. We definitely need an fmri(5), and we'll get that delivered soon. In the meantime, we'll have pkg(5), which is not yet in the gate, but I hope to get that back this week. I put it out for review a week or so ago, and just haven't had time to incorporate all the comments yet. Danek
