On Mon, Jan 29, 2007 at 07:23:07PM -0800, David Powell wrote:

> > However, what I'd really, really like to see is a way to embed a keyword
> > that is taken from a build (say "snv54" or somesuch) via Makefile, for
> > production builds, and has some other text for unofficial builds (say
> > "debugYYYYMMDD" or somesuch).
> 
>   Have you ever tried '::showrev -v' in mdb -k (or kmdb)?  We store an
>   identifier for the build in (I believe) the CTF data for each
>   individual module.
> 
>   Accessing this from places other than mdb is definitely possible.

If nothing else:

    installed-machine$ what /kernel/drv/sparcv9/fbt
    /kernel/drv/sparcv9/fbt:
           SunOS 5.11 snv_49 October 2007

    bfued-machine$ what /kernel/drv/sparcv9/fbt
    /kernel/drv/sparcv9/fbt:
            SunOS 5.11 onnv-gate:2007-01-26 October 2007
            SunOS Internal Development:  gk 2007-01-26 [onnv-gate]

But is that good enough for Services, or is it critical that the data be in
the modinfo output?

Danek
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to