Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 1996 09:15:52 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        msmith@atrad.adelaide.edu.au
Subject:   Re: Linux emulation, gethostid()
Message-ID:  <199610240715.JAA01773@uriah.heep.sax.de>
In-Reply-To: <199610240133.LAA03711@genesis.atrad.adelaide.edu.au> from Michael Smith at "Oct 24, 96 11:03:35 am"

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

> > 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.

And i tried you to prove that there's no actual need for getting the
_ethernet_ hardware address.  You can put all the ethernet (or
whatever) stuff into userland, to be run at /etc/rc time.  Inside the
kernel, there's the kernel-internal `hostid' variable available
anyway, or you can alternatively wrap Linux' gethostid() around BSD's
ogethostid() syscall.

-- 
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?199610240715.JAA01773>