From owner-freebsd-current@FreeBSD.ORG Sun Sep 30 17:43:57 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id 51C85106564A for ; Sun, 30 Sep 2012 17:43:57 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 7DC1214DA8C; Sun, 30 Sep 2012 17:43:56 +0000 (UTC) Message-ID: <506884D6.8090507@FreeBSD.org> Date: Sun, 30 Sep 2012 21:43:50 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120406 Thunderbird/10.0.3 MIME-Version: 1.0 To: Raoul MEGELAS References: <20120930163750.0D885D48144@smtp5-g21.free.fr> In-Reply-To: <20120930163750.0D885D48144@smtp5-g21.free.fr> X-Enigmail-Version: 1.4 OpenPGP: id=10C8A17A Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: gpart on macbook air X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 30 Sep 2012 17:43:57 -0000 On 30.09.2012 20:37, Raoul MEGELAS wrote: > i installed CURRENT on a macbook air > (internal ssd as you know): > i noticed the following: > > 1. on freebsd, deleting a partition with gpart: say > gpart delete -i 4 ada0 > dammage the osx boot. > of cours, booting with a backup disk and repairing the disk > make it functional again. > any light woukd be appreciated on this topic. Hi, When you are deleting a partition, the kernel completely overwrites the partition table and PMBR area. You can compare first 34 blocks before deletion and after to see what is going on. -- WBR, Andrey V. Elsukov