From owner-freebsd-sparc64@FreeBSD.ORG Fri Nov 19 21:33:26 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F0A116A4CE for ; Fri, 19 Nov 2004 21:33:26 +0000 (GMT) Received: from ida.interface-business.de (ida.interface-business.de [193.101.57.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C21D43D1F for ; Fri, 19 Nov 2004 21:33:26 +0000 (GMT) (envelope-from j@ida.interface-business.de) Received: by ida.interface-business.de (Postfix, from userid 107) id 5A54D7A53; Fri, 19 Nov 2004 22:33:24 +0100 (MET) Date: Fri, 19 Nov 2004 22:33:24 +0100 From: Joerg Wunsch To: mailinglists@debank.tv Message-ID: <20041119213324.GA71079@ida.interface-business.de> References: <25075.81.206.188.203.1100890359.squirrel@81.206.188.203> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25075.81.206.188.203.1100890359.squirrel@81.206.188.203> X-Phone: +49-351-31809-14 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Organization: interface systems GmbH, Dresden User-Agent: Mutt/1.5.6i cc: freebsd-sparc64@freebsd.org Subject: Re: bsdlabel and sparc X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joerg Wunsch List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 21:33:26 -0000 As mailinglists@debank.tv wrote: > I'm a bit in the dark how to use the bsdlabel facility on FBSD-5.3-STABLE. > I'm supposed to give an architecture flag but it doesn't support sparc64. > What's going wrong (or better yet: what am I doing wrong ?) You are not supposed to use BSD-style labels natively on sparc64, as the native label format of that architecture is sunlabel (which is natively understood by the Openboot PROM). bsdlabel support is merely to allow access to the label (and thus partitions) of a BSD-style labelled disk from outside. So you ought to provide the architecture name of the machine your disk is from. The command disklabel is an alias for sunlabel on sparc64, while it is an alias for bsdlabel on all other architectures. As both labels are located in different blocks of the disk, you could even have both labels... Looks really funny, you get dev nodes like /dev/da0ab and such then. ;-) -- J"org Wunsch Unix support engineer joerg_wunsch@interface-systems.de http://www.interface-systems.de/~j/