Maybe persuading it that the release version is
ok with dtrace might help:

% cat ./sysrelease.d 
#!/usr/sbin/dtrace -Cws
 
#include <sys/utsname.h>
 
syscall::uname:entry
{
        this->in = (struct utsname *)arg0;
}
 
syscall::uname:return
{
        copyoutstr($$1, (uintptr_t)&this->in->release[0], SYS_NMLN);
}
% ./sysrelease.d 5.42

in another window:

% uname -a
SunOS goanna 5.42 Generic_141445-09 i86pc i386 i86pc Solaris
%

of course you probably want something like 5.10 rather than 5.42 :-)
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to