Subject: Re: checking
To: None <cjs@cynic.net, tech-userlevel@netbsd.org>
From: Ken Nakata <kenn@synap.ne.jp>
List: tech-net
Date: 12/26/1999 09:10:36
On Sat, 25 Dec 1999 15:22:09 -0500 (EST), Curt Sampson <cjs@cynic.net> wrote:
> On Mon, 20 Dec 1999 itojun@iijlab.net wrote:
> 
> > 	Due to my IPv6 changes, /etc/netstart requires /usr to be mounted.
> > 	This is because I used sysctl to check for IPv6 support.
> 
> I've run in to other situations where I wanted sysctl early, too.
> (E.g., to be able to do a sysctl -w net.inet.ip.forwarding=0 on a
> firewall before I bring up any interfaces.) Perhaps sysctl should
> be moved to /sbin?

A similar situation has long existed before:

The default /etc/dhclient-script uses /usr/sbin/arp and /usr/bin/sed,
requiring /usr be mounted before /etc/netstart runs if configured as a 
DHCP client.

Ken