[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-current
Subject:    Re: gpart on macbook air
From:       Raoul MEGELAS <rmgls () free ! fr>
Date:       2012-09-30 19:06:57
Message-ID: 20120930190658.82A69D480FF () smtp5-g21 ! free ! fr
[Download RAW message or body]

On Sun, 30 Sep 2012 21:43:50 +0400
"Andrey V. Elsukov" <ae@FreeBSD.org> wrote:

> 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

Hi Andrey,

I can understand that, but i would have thought
that the deletion of the concerned partition was written preserving others???

something like:

- read the gpt table
- find the offset
- zeroes the partition entry
- rewrites the table?

is not that logic?

if it is not so, i does not understand this behaviour.

Thanks.

raoul
rmgls@free.fr
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic