Dseven <[EMAIL PROTECTED]> wrote: > You can get the version from a firmware image like this: > > % /opt/SUNWut/sbin/lzd < /tmp/CoronaP7 | /usr/ccs/bin/what | grep version= > ic 303033 oc 621692 > version=CoronaP7-3.1_21,REV=2005.06.09.19.01 > % > > This is actually documented in utfwadm(1M)
It is, but that should go away sometime soon. This technique won't work forever. What needs to happen is that 'utfwadm' needs to grow an option that reports this kind of information from a given firmware image, so you don't need to know about implementation details like this. BTW, the /usr/ccs/bin/what part is obsolete. It's the wrong pathname for Linux and even on Solaris it made no sense to require the development tools package just for this one use of the 'what' command. You can replace that pathname with /opt/SUNWut/lib/utwhat, which is the command 'utfwadm' now uses internally. I see SUNWuto still declares SUNWsprot as a dependency, that's a bug. OttoM. __ ottomeister Disclaimer: These are my opinions. I do not speak for my employer. -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm _______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
