> rlhamil Mar 28, 2008 6:28 PM wrote:
> getconf -t|grep PLATFORM
> gives nothing at all.

I was looking for a cross platform way to determine the OS's boot mode and came 
across this post.

I'm running "Solaris Express Community Edition" snv_93 and I can confirm that 
"getconf -t|grep PLATFORM" 
prints nothing.


Since I am using Bash I type the command a little differently:

# ksh93 -c getconf -t | grep PLATFORM
#


Here are two other problems (bug / missing info):

# ksh93 -c getconf -t | grep undefined | wc -l
124
# ksh93 -c getconf -t | grep error | wc -l
73
#

It would be great if this gets fixed.
 
 
This message posted from opensolaris.org

Reply via email to