<div dir="ltr"><div>Hello All,<br><br>I was wondering if it may be possible to call sysctl, instead of requiring dmidecode to be installed for getting the uuid of a system?<br><br>According to the user that filed the bug below, dmidecode needs to be installed to get the uuid, or errors will  be printed in logs to get the uuid.<br><br><a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196733">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196733</a><br><br></div>I was wondering if sysctl can be called to get this information for FreeBSD? I am not sure if Linux would give similar information, but would think it might. Beyond this, I am not sure if dmidecode is used for other aspects beyond uuid where it is required where sysctl doesn't give the information needed.<br><div><pre class="" id="comment_text_2">$ sudo dmidecode |grep -i uuid
        UUID: 42355DE8-C55C-E487-8E16-509A78EB5EE1
$ sysctl kern.hostuuid
kern.hostuuid: 42355de8-c55c-e487-8e16-509a78eb5ee1</pre>Thanks,<br>Jason<br clear="all"></div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr">Jason Helfman          | FreeBSD Committer<br>jgh@FreeBSD.org     | <a href="http://people.freebsd.org/%7Ejgh" target="_blank">http://people.freebsd.org/~jgh</a>  | The Power to Serve<br></div></div>
</div></div></div>