From owner-freebsd-questions Wed Dec 2 05:03:52 1998 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA18227 for freebsd-questions-outgoing; Wed, 2 Dec 1998 05:03:52 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA18220 for <questions@freebsd.org>; Wed, 2 Dec 1998 05:03:49 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.054 #3) id 0zlBZv-00005D-00; Wed, 2 Dec 1998 12:40:23 +0000 Date: Wed, 2 Dec 1998 12:40:23 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: John Saunders <john.saunders@scitec.com.au> Cc: Jim Mock <jim@phrantic.phear.net>, questions@FreeBSD.ORG Subject: Re: whereis in 2.2.8-RELEASE Message-ID: <19981202124023.A303@scientia.demon.co.uk> References: <Pine.BSF.4.05.9812020911310.736-100000@oz.phear.net> <002501be1da0$0949ffd0$6cb611cb@saruman.scitec.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <002501be1da0$0949ffd0$6cb611cb@saruman.scitec.com.au> User-Agent: Mutt/0.94.17i (FreeBSD/3.0-CURRENT) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Saunders wrote: > Looking at /usr/sys/usr.sbin/sysctl/Makefile makes me think > that a symbolic link has gone missing in your system. > > BINDIR= /sbin > LINKS= ${BINDIR}/sysctl /usr/sbin/sysctl That's not here on current. # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $Id: Makefile,v 1.3 1997/12/18 15:34:08 bde Exp $ PROG= sysctl MAN8= sysctl.8 BINDIR= /sbin NOSHARED?= yes .include <bsd.prog.mk> Quite why that's under /usr/src/usr.sbin instead of /usr/src/sbin I don't know, perhaps someone would care to explain. Besides, doesn't LINKS= create hard links? That's not much help when /sbin and /usr/sbin are different filesystems, so your symlink solution seems better. -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message