From owner-svn-src-all@FreeBSD.ORG Fri Nov 18 04:08:46 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B55FD106566C; Fri, 18 Nov 2011 04:08:46 +0000 (UTC) (envelope-from kensmith@buffalo.edu) Received: from localmailC.acsu.buffalo.edu (localmailc.acsu.buffalo.edu [128.205.5.204]) by mx1.freebsd.org (Postfix) with ESMTP id 709518FC0C; Fri, 18 Nov 2011 04:08:46 +0000 (UTC) Received: from localmailC.acsu.buffalo.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id CA0FB380C2; Thu, 17 Nov 2011 23:08:44 -0500 (EST) Received: from localmailC.acsu.buffalo.edu (localhost [127.0.0.1]) by localmailC.acsu.buffalo.edu (Postfix) with ESMTP id E4FDE38189; Thu, 17 Nov 2011 23:08:43 -0500 (EST) Received: from smtp3.acsu.buffalo.edu (smtp3.acsu.buffalo.edu [128.205.5.226]) by localmailC.acsu.buffalo.edu (Prefixe) with ESMTP id D7E70380C2; Thu, 17 Nov 2011 23:08:43 -0500 (EST) Received: from ken-smiths-macbook-pro.local (cpe-72-231-248-9.buffalo.res.rr.com [72.231.248.9]) (Authenticated sender: kensmith@buffalo.edu) by smtp3.acsu.buffalo.edu (Postfix) with ESMTPSA id 9379949DC8; Thu, 17 Nov 2011 23:08:42 -0500 (EST) Message-ID: <4EC5DA48.6060002@buffalo.edu> Date: Thu, 17 Nov 2011 23:08:40 -0500 From: Ken Smith User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Alexey Dokuchaev References: <201111151849.pAFInR3K012609@svn.freebsd.org> <201111171141.22648.jhb@freebsd.org> <1321551793.82271.55.camel@bauer.cse.buffalo.edu> <201111171416.47725.jhb@freebsd.org> <20111118030019.GA37436@FreeBSD.org> In-Reply-To: <20111118030019.GA37436@FreeBSD.org> X-Enigmail-Version: 1.3.3 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-PM-EL-Spam-Prob: XX: 28% Cc: src-committers@freebsd.org, Pawel Jakub Dawidek , John Baldwin , svn-src-all@freebsd.org, David Chisnall , TAKAHASHI Yoshihiro , Nathan Whitehorn , svn-src-head@freebsd.org Subject: Re: svn commit: r227536 - in head: release share/man/man7 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2011 04:08:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/17/11 10:00 PM, Alexey Dokuchaev wrote: > On Thu, Nov 17, 2011 at 02:16:47PM -0500, John Baldwin wrote: >> On Thursday, November 17, 2011 12:43:12 pm Ken Smith wrote: >>> If you're referring to the FTP directory tree layout we wind up >>> with: >>> >>> .../releases/amd64/9.0-RELEASE >>> .../releases/amd64/ISO-IMAGES/9.0 >>> >>> for an example of uname -m == uname -p. But for our two >>> powerpc related architectures we get: >>> >>> .../releases/powerpc/9.0-RELEASE >>> .../releases/powerpc/ISO-IMAGES/9.0 >>> .../releases/powerpc/powerpc64/9.0-RELEASE >>> .../releases/powerpc/powerpc64/ISO-IMAGES/9.0 >>> >>> I'm not sure I like the inconsistency. >> >> Given the available tradeoffs I prefer this to amd64/amd64. We >> could also define the rule another way, which is if a given >> TARGET only has a single TARGET_ARCH you just use TARGET, >> otherwise you use TARGET/TARGET_ARCH. > > If we seem to employ some naming transition rule based on > TARGET_ARCH and TARGET, why not simply check just for pc98 as I > suggested earlier, and return TARGET in this case, and TARGET_ARCH > otherwise? > > Generalizing, perhaps this rule can be extended to the list of > TARGET/TARGET_ARCH combos for which we return TARGET, and > TARGET_ARCH for the rest? > > (This is for ISO file names; for release directory structure > John's suggestion looks reasonable.) > > ./danfe > Can you suggest a patch to src/usr.sbin/bsdinstall/scripts/mirrorselect that implements it then? I can picture a patch that just checks to see if uname -p == uname -m but I'm having trouble picturing a patch that implements anything more complicated than that in a way that's not a hack of checks for special cases. - -- Ken Smith - - From there to here, from here to | kensmith@buffalo.edu there, funny things are everywhere. | - Theodor Geisel | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7F2kgACgkQ/G14VSmup/YLVACgmB8gCrOjUREzjRJh+34UlU9i Q6wAoJGX0wsCjFpf/PYGGUvq04TYqBGL =s8IE -----END PGP SIGNATURE-----