From owner-freebsd-current@FreeBSD.ORG Tue Jan 25 17:46:31 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B05D16A4CE for ; Tue, 25 Jan 2005 17:46:31 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB8E543D31 for ; Tue, 25 Jan 2005 17:46:28 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so430186wri for ; Tue, 25 Jan 2005 09:46:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=PxNYW1tgS/E9aPafACqtVZBU2aM28yOr/Rn3tiqKNZoKdpmL1pJfa60sdJ/pnrB9rWIQxgIa5J0RmnI6LT+pauyUBdbmmTV1iMXHYriQEObiZlesYvPSK6rPI38EZoISUrvHq354S/OSYBKCyiSY45cEr8wSmHPQgNUKOFSpZqU= Received: by 10.54.56.58 with SMTP id e58mr74864wra; Tue, 25 Jan 2005 09:46:27 -0800 (PST) Received: by 10.54.29.48 with HTTP; Tue, 25 Jan 2005 09:46:27 -0800 (PST) Message-ID: <790a9fff05012509467dbd195@mail.gmail.com> Date: Tue, 25 Jan 2005 11:46:27 -0600 From: Scot Hetzel To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: sys directory link reset by an installkernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Scot Hetzel List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 17:46:31 -0000 I have my FreeBSD checked out in a non-standard location. I have then set /sys to point to the sys directory for this non-statndard location. But eveytime I perform an installkernel, this link is changed to sys -> usr/src/sys. This causes problems when I need to build a port that requires the Kernel src files. My layout is as follows: ls / / : sys -> usr/src/5x/sys : ls /usr/src 4x 5x 6x sys -> /sys With the above layout, I can NFS mount /usr/src on my 4x, 5x, and 6x systems and not have to make sure that /usr/src/sys points to the correct source tree. I have fixed this problem on my system by using the patch in the following PR http://www.freebsd.org/cgi/query-pr.cgi?pr=76362 The patch will set the /sys link to the correct location of the sources during a installkernel. Scot