`<div dir="ltr">Examine /etc/release?<div><br></div><div>Ian</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 2, 2015 at 11:16 AM, Chris Siebenmann <span dir="ltr"><<a href="mailto:cks@cs.toronto.edu" target="_blank">cks@cs.toronto.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> We have at least one shell script that needs to know if it's running<br>
on a host with OmniOS r151014 versus a host with an earlier OmniOS<br>
version (due to the change in ZFS pool reservations from 1/64th of the<br>
pool to 1/32nd of the pool that we picked up with r151014). Is there<br>
any particular good way for a shell script to determine this, ideally<br>
in a lightweight way and without requiring root permissions?<br>
<br>
Thanks in advance.<br>
<br>
- cks<br>
_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Ian Kaufman<br>Research Systems Administrator<br>UC San Diego, Jacobs School of Engineering ikaufman AT ucsd DOT edu <br></div>
</div>
`