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

Doug Hughes doug at will.to
Wed Dec 2 19:34:28 UTC 2015


You can look at /etc/release. It's on the 1st line.


Sent from my android device.

-----Original Message-----
From: Chris Siebenmann <cks at cs.toronto.edu>
To: omnios-discuss at lists.omniti.com
Sent: Wed, 02 Dec 2015 14:30
Subject: [OmniOS-discuss] What's the best way to detect OmniOS version, specifically r151014?

 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 way for a shell script to determine this, ideally
in a lightweight way and without requiring root permissions?

 Thanks in advance.

	- cks
_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss at lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20151202/0ef783ce/attachment.html>


More information about the OmniOS-discuss mailing list