Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 1996 11:03:35 +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:  <199610240133.LAA03711@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199610232019.WAA27409@uriah.heep.sax.de> from "J Wunsch" at Oct 23, 96 10:19:14 pm

next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch stands accused of saying:
> 
> As Michael Smith wrote:
> 
> > > 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?
> 
> What do you need it for in an LKM?

Note the original topic; what I am trying to do is provide a means for
emulating the Linux ioctl used for getting the ethernet hardware address.

> 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?199610240133.LAA03711>