Re: Determining the UNIX flavour and version from netboot filesets




arindam.mukerjee@xxxxxxxxx wrote:
Martin Paul wrote:
arindam.mukerjee@xxxxxxxxx wrote:
So - given that a SunOS SPARC netboot fileset's directory structure is
pretty similar to a normal SunOS SPARC directory structure - is there a
way I could confirm by examining some files on the disk that this is a
SunOS netboot fileset and not an AIX one. Further, how can I get the
version info.

The net boot root directory should be different enough between AIX
and Solaris to make this an easy task (e.g. look for /platform/ to
identify Solaris).

Personally, I'd look for Solaris_*/Tools/Boot/var/sadm/pkg/SUNWcsr/pkginfo,
which will exist on any SunOS release, and grep for "SUNW_PRODVERS" in this
file to get the actual OS release.

That sounds like a pretty solid way of doing it. I will try that.

Following the earliers posts, I looked for:

/platform/<sun4u OR i86pc>/kernel/unix
or
/platform/sun4u/kernel/sparcv9/unix

etc. etc. - but that only tells me the OS and platform - for release I
was then parsing /etc/release.

Your tip sounds more definitive.

thanks,
-- Arindam


While this is not an AIX forum, do you know what to do on an AIX
fileset to get the version.




mp.
--
Systems Administrator | Institute of Scientific Computing | Univ. of Vienna
| http://www.par.univie.ac.at/solaris/pca/
Patch Check Advanced | Analyze, download and install patches for Sun Solaris

.



Relevant Pages