From owner-freebsd-ppc@FreeBSD.ORG Mon Apr 13 12:30:07 2009 Return-Path: Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7839A10656F5 for ; Mon, 13 Apr 2009 12:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 651DF8FC21 for ; Mon, 13 Apr 2009 12:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3DCU6lH098956 for ; Mon, 13 Apr 2009 12:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3DCU6Db098948; Mon, 13 Apr 2009 12:30:06 GMT (envelope-from gnats) Date: Mon, 13 Apr 2009 12:30:06 GMT Message-Id: <200904131230.n3DCU6Db098948@freefall.freebsd.org> To: freebsd-ppc@FreeBSD.org From: Jochen Fahrner Cc: Subject: Re: powerpc/93203: FreeBSD PPC Can't Write to Partitions. X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jochen Fahrner List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2009 12:30:09 -0000 The following reply was made to PR powerpc/93203; it has been noted by GNATS. From: Jochen Fahrner To: bug-followup@FreeBSD.org, aibotca@yahoo.ca Cc: Subject: Re: powerpc/93203: FreeBSD PPC Can't Write to Partitions. Date: Mon, 13 Apr 2009 14:08:24 +0200 I think this is a bug in disklabel. With disklabel a slice can be divided into partitions. Slices in BSD are, what other operating systems call "partition". Device files for slices are number with a preceding "s". Example: /dev/ad0s3 is referring to slice 3 on disk 0. Partitions, created by disklabel, are numbered with a preceding "p". Example: /dev/ad0s3p1 is referring to partition 1 in slice 3 on disk 0. The bug in disklabel seems to be, that it does not append the partition number do devices on the ppc platform. All partitions in on slice have the same device name. Example: if you create partition 1, 2 and 3 in slice 3 of disk 0, then they should have the names: ad0s3p1 ad0s3p2 ad0s3p3 Due to the bug they all have ad0s3 as name. Assume these 3 partitions should be mounted as /, /var and /usr. When the installer tries to mount them, it first mounts /dev/ad0s3 -> / Next it want mount /dev/ad0s3 -> /var. This is not possible (operation not permitted) because /dev/ad0s3 is already mounted.