Alexander Novick wrote:
> We usually use /usr/sbin/modinfo to determine versions for specific modules.
> With removal of user visible SCCS keywords how can we get module version
> if the version is not implanted in th binary?
>
> Tx,
>
> anovick
Hi Alexander,
We talked with folks in the Services group a few times about this. In
summary:
1) modinfo isn't actually giving you the module version. It's giving
you the SCCS delta of the file that happened to contain the %I% string.
This may or may not have changed as the driver was changed, so it's
potentially misleading.
2) mdb's ::showrev & ::objects -v are better ways of getting some
version number (at least as to what build the module came from, which is
arguably better than an SCCS delta) for modules.
cheers,
steve
--
stephen lau // stevel at opensolaris.org | http://whacked.net
opensolaris // solaris kernel development