> There are much better and more reliable tools for determining which 
> revision of a particular binary you have than source keywords.  They 
> include (either on their own or in combination) but are not limited to: 
> pkgchk, pkg(5) [IPS], digest, md5sum, bart, showrev, elfsign, the online 
> fingerprint database.

Those won't show which module is actually loaded into kernel, will they
? (I don't know bart and online fingerprint database). I.e. you have
crash dump, how can you find out which module version was loaded ?

Not that the current keywords would be always ideal solution, but it was
at least something ...

Wouldn't it be solution to use hg log, something like

hg log -l 1 --template '{node|short}\n' file

It prints node id of last commit which changed given file (or even
directory !). And it's much faster than 'hg id'. The only disadvantage I
can see is that you can't find which node id is older than other just by
looking at it.

-- 
        Vlad

Attachment: pgp2qOUebv3rC.pgp
Description: PGP signature

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

Reply via email to