From owner-freebsd-current@FreeBSD.ORG Wed Jan 2 13:26:29 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 28E078B4; Wed, 2 Jan 2013 13:26:29 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id E8B968FC0A; Wed, 2 Jan 2013 13:26:28 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0MG0004002NXAS00@smtpauth1.wiscmail.wisc.edu>; Wed, 02 Jan 2013 07:26:21 -0600 (CST) Received: from wanderer.tachypleus.net (pool-72-66-126-15.washdc.fios.verizon.net [72.66.126.15]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0MG0000FE2NWUW10@smtpauth1.wiscmail.wisc.edu>; Wed, 02 Jan 2013 07:26:21 -0600 (CST) Date: Wed, 02 Jan 2013 08:26:19 -0500 From: Nathan Whitehorn Subject: Re: installworld failure due to cross-device links In-reply-to: <50E42264.4010609@freebsd.org> Sender: whitehorn@wisc.edu To: Stefan Esser Message-id: <50E4357B.7020400@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=72.66.126.15 X-Spam-PmxInfo: Server=avs-16, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.1.2.131523, SenderIP=72.66.126.15 References: <50E42264.4010609@freebsd.org> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2013 13:26:29 -0000 On 01/02/13 07:04, Stefan Esser wrote: > I'd be interested in the general policy on LINKS vs. SYMLINKS > between directories that might end up on different file systems. > > There seems to be an assumption that system directories in /usr > (e.g. /usr/bin, /usr/sbin, /usr/libexec) are on the same file > system, but I do not think that this assumption is documented. > > I'm using a ZFS only installation of -CURRENT and have separate file > systems for several of the directories in / and /usr, that usually > share a file system (e.g. /bin, /sbin, but also /usr/bin/, /usr/sbin > and /usr/libexec are independent file systems). > > An older case is the link from /usr/bin/chgrp to /usr/sbin/chown > (see usr.sbin/chown/Makefile), which is easily fixed by using a > SMYLINK instead of a LINK. > > And now there is usr.sbin/bsdinstall/partedit/Makefile, which as of > r244859 creates a link from /usr/libexec/bsdinstall to /usr/sbin/sade. > > This breaks with /usr/bin and /usr/sbin on different file systems, > while it should not according to the commit message: > Thanks for the patch! I've committed it (slightly modified) as r244958. I haven't taken any action on the chgrp/chown issue, though. -Nathan