From owner-freebsd-hackers Mon Sep 7 10:40:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA04745 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 10:40:50 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from shell6.ba.best.com (shell6.ba.best.com [206.184.139.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA04738 for ; Mon, 7 Sep 1998 10:40:47 -0700 (PDT) (envelope-from jkb@best.com) Received: from localhost (jkb@localhost) by shell6.ba.best.com (8.9.0/8.9.0/best.sh) with SMTP id KAA21738; Mon, 7 Sep 1998 10:34:04 -0700 (PDT) X-Authentication-Warning: shell6.ba.best.com: jkb owned process doing -bs Date: Mon, 7 Sep 1998 10:34:04 -0700 (PDT) From: "Jan B. Koum " X-Sender: jkb@shell6.ba.best.com To: Konstantin Chuguev cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Proposal for moving /usr/sbin/sysctl -> /sbin/sysctl In-Reply-To: <35F3BEBA.17D9375A@urc.ac.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message