Re: [OmniOS-discuss] What's the best way to detect OmniOS version, specifically r151014?

2015-12-02 Thread Doug Hughes
You can look at /etc/release. It's on the 1st line. Sent from my android device. -Original Message- From: Chris Siebenmann To: omnios-discuss@lists.omniti.com Sent: Wed, 02 Dec 2015 14:30 Subject: [OmniOS-discuss] What's the best way to detect OmniOS version, specifical

Re: [OmniOS-discuss] What's the best way to detect OmniOS version, specifically r151014?

2015-12-02 Thread Chris Siebenmann
> On Wed, Dec 2, 2015 at 11:16 AM, Chris Siebenmann > wrote: > > We have at least one shell script that needs to know if it's > > running on a host with OmniOS r151014 versus a host with an earlier > > OmniOS version (due to the change in ZFS pool reservations from > > 1/64th of the pool to 1/32n

Re: [OmniOS-discuss] What's the best way to detect OmniOS version, specifically r151014?

2015-12-02 Thread Dan McDonald
> On Dec 2, 2015, at 2:16 PM, Chris Siebenmann wrote: > > We have at least one shell script that needs to know if it's running > on a host with OmniOS r151014 versus a host with an earlier OmniOS > version (due to the change in ZFS pool reservations from 1/64th of the > pool to 1/32nd of the poo

Re: [OmniOS-discuss] What's the best way to detect OmniOS version, specifically r151014?

2015-12-02 Thread Ian Kaufman
Examine /etc/release? Ian On Wed, Dec 2, 2015 at 11:16 AM, Chris Siebenmann wrote: > We have at least one shell script that needs to know if it's running > on a host with OmniOS r151014 versus a host with an earlier OmniOS > version (due to the change in ZFS pool reservations from 1/64th of th

[OmniOS-discuss] What's the best way to detect OmniOS version, specifically r151014?

2015-12-02 Thread Chris Siebenmann
We have at least one shell script that needs to know if it's running on a host with OmniOS r151014 versus a host with an earlier OmniOS version (due to the change in ZFS pool reservations from 1/64th of the pool to 1/32nd of the pool that we picked up with r151014). Is there any particular good wa