[
https://issues.apache.org/jira/browse/LANG-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028812#comment-13028812
]
Oliver commented on LANG-695:
-----------------------------
The case sensitive values of {{os.name}} for BSD--Unix variants are:
FreeBSD
OpenBSD
NetBSD
For the {{IS_BSD}} case I'd say Mac OS X should be treated as a BSD--Unix as
well, because {{IS_UNIX}} returns {{true}} for Mac OS X, too. And by the way
Mac OS X *is* actually FreeBSD, But don't tell Mac addicts ;)
{quote}
Given we have OS X, do we add the various BSDs.
{quote}
I'd say no, because this is imho confusing.
But if we have {{IS_LINUX}} and {{IS_BSD}} , we should also provide something
like {{IS_SYS_V}} for SunOS and Solaris. (?)
> SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
> -----------------------------------------------------------------
>
> Key: LANG-695
> URL: https://issues.apache.org/jira/browse/LANG-695
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.*
> Affects Versions: 2.6
> Environment: FreeBSD 7-STABLE
> Reporter: Oliver
> Priority: Minor
> Fix For: 3.x
>
>
> FreeBSD isn't recognized as Unix system in SystemUtils.IS_OS_UNIX; There
> should be something like SystemUtils.IS_OS_FREEBSD, also.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira