From owner-freebsd-hackers Mon Sep 7 13:37:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA01342 for freebsd-hackers-outgoing; Mon, 7 Sep 1998 13:37:24 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA01284 for ; Mon, 7 Sep 1998 13:37:13 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id VAA21570; Mon, 7 Sep 1998 21:05:39 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id VAA02036; Mon, 7 Sep 1998 21:07:46 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809072007.VAA02036@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Jan B. Koum " cc: Konstantin Chuguev , freebsd-hackers@FreeBSD.ORG Subject: Re: Proposal for moving /usr/sbin/sysctl -> /sbin/sysctl In-reply-to: Your message of "Mon, 07 Sep 1998 10:34:04 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 07 Sep 1998 21:07:45 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 , , 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