From owner-freebsd-questions Fri Oct 25 11:23:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2412037B401 for ; Fri, 25 Oct 2002 11:23:26 -0700 (PDT) Received: from gate.raffles-it.com (raffles.demon.co.uk [62.49.18.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5222543E8A for ; Fri, 25 Oct 2002 11:23:24 -0700 (PDT) (envelope-from dpd@raffles-it.com) Received: from arrow.lan.raffles-it.com (localhost [127.0.0.1]) by gate.raffles-it.com (8.12.6/8.12.6) with ESMTP id g9PIJXgL047610 for ; Fri, 25 Oct 2002 19:19:33 +0100 (BST) (envelope-from dpd@lan.raffles-it.com) Received: (from dpd@localhost) by arrow.lan.raffles-it.com (8.12.6/8.12.6/Submit) id g9PIJSKO047609; Fri, 25 Oct 2002 19:19:28 +0100 (BST) Date: Fri, 25 Oct 2002 19:19:28 +0100 From: David Dooley To: freebsd-questions@freebsd.org Subject: Using symbolic links in directories for /usr/src and /usr/obj Message-Id: <20021025191928.5097842e.dpd@raffles-it.com> X-Mailer: Sylpheed version 0.8.0claws (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I am using Freebsd 4.7 Anybody know if there is a way to have the build system use relative paths that include symbolic links rather than absolute path. The question has come about, because, I would like to be able to auto mount my /usr/build file system from my dev box, where everything is compiled, to the target systems for installation. But using auto mounter the paths are changed and it would appear the build system uses the absolute paths rather than the symbolic paths. I am currently doing static mounts through /etc/fstab of a file system /usr/build. The /usr/src and /usr/obj directories are symbolically linked into /usr/build, but as I export /usr/build from my 'dev' box and it is mounted as /usr/build on the remote systems and the same symbolic links exist on the remote system all is well as the paths on all the boxes remain the same. As soon as I try and use the auto mounter to mount the /usr/build file system the paths on the remote box are now different and the install fails complaining about not being able to find things as the paths to things have changed. Any help would be most appreciated. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message