Bug 3803 - no 'hostid' command like on solaris.
no 'hostid' command like on solaris.
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: util-linux (Show other bugs)
6.0
sparc Linux
medium Severity medium
: ---
: ---
Assigned To: Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-06-29 12:14 EDT by Peter Jones
Modified: 2015-01-07 18:37 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-03 11:12:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Peter Jones 1999-06-29 12:14:37 EDT
#!/bin/bash
# this should be /usr/bin/hostid or somesuch.
# Copyright 1999 Peter Jones, <pjones@redhat.com> .
# GPL and all that good stuff apply.
(
idprom=`cat /proc/openprom/idprom`
echo $idprom|dd bs=1 skip=2 count=2
echo $idprom|dd bs=1 skip=27 count=6
echo
) 2>/dev/null
Comment 1 Jay Turner 1999-06-29 13:04:59 EDT
Recommendation has been forwarded to package developer/maintainer.
Comment 2 Jeff Johnson 1999-08-03 11:12:59 EDT
Added to util-linux-2.9v-17 (finally:-). Thanks for the patch.

Note You need to log in before you can comment on or make changes to this bug.