From owner-cvs-src@FreeBSD.ORG Wed Apr 16 14:06:07 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EE9B37B415; Wed, 16 Apr 2003 14:06:07 -0700 (PDT) Received: from critter.freebsd.dk (port757.uc1-esp.isdn-lan.cybercity.dk [212.242.98.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id E251543F85; Wed, 16 Apr 2003 14:06:05 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h3GL626W045524; Wed, 16 Apr 2003 23:06:03 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Ruslan Ermilov From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 16 Apr 2003 23:55:06 +0300." <20030416205506.GB10181@sunbay.com> Date: Wed, 16 Apr 2003 23:06:02 +0200 Message-ID: <45523.1050527162@critter.freebsd.dk> cc: Jake Burkholder cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: David O'Brien cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sbin/sunlabel Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 21:06:08 -0000 In message <20030416205506.GB10181@sunbay.com>, Ruslan Ermilov writes: >disklabel will soon be enabled on sparc64 too, once >the endianness fixes are committed. This is needed >to cross-release architectures that use BSD labels, >that is i386 and Alpha. I guess we should paint the big picture, just to make sure we don't get a confused bikeshed at this point. The plan/goal, such as it is: All disk partition programs, should work on all architectures/endianess. (presently: fdisk, disklabel, sunlabel, gpt) Some of these programs will need to grow "-m $architecture" like arguments, for instance disklabel which needs to be able to tell the difference between an i386 and alpha layout. fdisk(8) may also need to learn i386/pc98. Make release tools will learn to DTRT, this may include KLD'ing GEOM modules. As for the naming of bsdlabel/disklabel. I am all for a repo-copy disklabel->bsdlabel, with a compatibility symlink on alpha/i386/pc98. Thinking a bit more about it, I think we should not symlink anything else to that name on other architectures, but rather have a small shellscript which explains what the tool is called on the present platform. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.