hostid_freebsd.go 139 B

123456789
  1. // +build freebsd
  2. package xid
  3. import "syscall"
  4. func readPlatformMachineID() (string, error) {
  5. return syscall.Sysctl("kern.hostuuid")
  6. }