Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Sep 1998 21:07:45 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        "Jan B. Koum " <jkb@best.com>
Cc:        Konstantin Chuguev <joy@urc.ac.ru>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Proposal for moving /usr/sbin/sysctl -> /sbin/sysctl 
Message-ID:  <199809072007.VAA02036@woof.lan.awfulhak.org>
In-Reply-To: Your message of "Mon, 07 Sep 1998 10:34:04 PDT." <Pine.BSF.4.02A.9809071033280.19160-100000@shell6.ba.best.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
But the sources are in /usr/usrc/usr.sbin/sysctl (and linked 
statically despite it) :-(

Anyone know the rationale ?

> 	It is in /sbin in 3.0 
> 
> % which sysctl
> /sbin/sysctl
> % uname -a
> FreeBSD twentythree.jkb.org 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Sun Sep  6
> 17:35:29 GMT 1998
> jkb@twentythree.jkb.org:/usr/src/sys/compile/TWENTYTHREE  i386
> 
> -- Yan
> 
> I don't have the password    + Jan Koum 
> But the path is chainlinked  | Spelled Jan, pronounced Yan. There. 
> So if you've got the time    | Web: http://www.best.com/~jkb
> Set the tone to sync         + OS: http://www.FreeBSD.org
> 
> On Mon, 7 Sep 1998, Konstantin Chuguev wrote:
> 
> >Hi, FreeBSD guys.
> >
> >Wouldn't it be better to have the sysctl utility in /sbin instead of /usr/sbin?
> >
> >One example:
> >
> >I have a router which mounts its /usr from another host via NFS.
> >As it is a router, it calls sysctl -w net.inet.ip.forwarding=1
> >from /etc/rc.network on startup. But at that time, /usr is not mounted yet :-(
> >
> >Now I have to copy /usr/sbin/sysctl to /sbin/. It has better to be done by
> >the distribution :-)
> >
> >BTW, grep sysctl /etc/rc.network:
> >            sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
> >            sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1
> >            sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1
> >            sysctl -w net.inet.ip.sourceroute=1 >/dev/null 2>&1
> >            sysctl -w net.inet.ip.accept_sourceroute=1 >/dev/null 2>&1
> >            sysctl -w net.ipx.ipx.ipxforwarding=1 >/dev/null 2>&1
> >            sysctl -w net.link.ether.inet.proxyall=1 2>&1
> >                    sysctl -w vfs.nfs.nfs_privport=1 >/dev/null 2>&1
> >
> >I am sorry if I'm writing to wrong group. I just don't know mechanisms
> >for the right way of such proposals.
> >
> >--
> >	Konstantin V. Chuguev.		System administrator of Southern
> >	http://www.urc.ac.ru/~joy/	Ural Regional Center of FREEnet,
> >	mailto:joy@urc.ac.ru		Chelyabinsk, Russia.

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809072007.VAA02036>