Date: Mon, 25 Jan 1999 14:33:58 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: Mike Smith <mike@smith.net.au>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_mib.c Message-ID: <199901252233.OAA08049@apollo.backplane.com> References: <22574.917300357@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
:Matt,
:
:I simply don't understand why you need this as a variable in the
:first place, clearly if it is a "per-host" basis, you can
:find it using `hostname` or similar methods ?
:
:While I am in general terms `pro` a registry of some kind, I will
:strongy object to sysctl being used for registry tasks like this
:one.
:
:A far better, and more UNIX like, way would be to mount a MFS on
:some directory and stick the info there...
In fact, I am using it exactly on an IP basis. The problem is
figuring out the IP address.
I'd gladly just build the whole smear into /etc/rc.conf, but it
requiring running route and ifconfig to extract the machine's
BOOTP-assigned IP address. If it is ok to run these inside /etc/rc.conf,
then we don't have a problem.
Do people have any objections to running ifconfig and route inside
/etc/rc.conf to 'calculate' a machine-specific rc.conf.local path ?
-Matt
:Poul-Henning Kamp FreeBSD coreteam member
-Matt
Matthew Dillon
<dillon@backplane.com>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901252233.OAA08049>
