Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 1996 10:33:54 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        msmith@atrad.adelaide.edu.au (Michael Smith)
Subject:   Re: Linux emulation, gethostid()
Message-ID:  <199610230833.KAA25025@uriah.heep.sax.de>
In-Reply-To: <199610230354.NAA23453@genesis.atrad.adelaide.edu.au> from Michael Smith at "Oct 23, 96 01:24:19 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Michael Smith wrote:

> Do we want an ioctl to get the hardware address?  If not, any
> suggestions on a _tidy_ way to get it?

Grab the number you like by any means you like somewhere in rc.local,
and issue a sethostid(3) with it.  No need to bloat the kernel for
this.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610230833.KAA25025>