Date: Wed, 23 Oct 1996 18:38:26 +0930 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: joerg_wunsch@uriah.heep.sax.de Cc: freebsd-hackers@freebsd.org, msmith@atrad.adelaide.edu.au Subject: Re: Linux emulation, gethostid() Message-ID: <199610230908.SAA26604@genesis.atrad.adelaide.edu.au> In-Reply-To: <199610230833.KAA25025@uriah.heep.sax.de> from "J Wunsch" at Oct 23, 96 10:33:54 am
next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch stands accused of saying: > > > 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. Gotcha; I hadn't seen kern.hostid before. Anyone recommend a quick example I can look at for retrieving a sysctl value from inside an LKM? > cheers, J"org -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610230908.SAA26604>