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> In-Reply-To: <002501be1da0$0949ffd0$6cb611cb@saruman.scitec.com.au> References: <Pine.BSF.4.05.9812020911310.736-100000@oz.phear.net> <002501be1da0$0949ffd0$6cb611cb@saruman.scitec.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981202124023.A303>
