util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cfdisk fails to zap mac partition table
@ 2011-12-29 18:55 Phillip Susi
  0 siblings, 0 replies; only message in thread
From: Phillip Susi @ 2011-12-29 18:55 UTC (permalink / raw)
  To: util-linux

When a disk has a mac partition table and you run cfdisk on it, it 
creates a new msdos partition table, but preserves the mac partition 
table's signature, probably because it is in the area where the mbr boot 
code is.  When initializing a new MBR, cfdisk should not preserve any 
existing data.  fdisk does not exhibit this behavior.

To reproduce with a clean loop device:

parted /dev/loop0 mklabel mac
cfdisk /dev/loop0
parted /dev/loop0 print

Parted still recognizes the mac partition table.

The original bug report can be seen here: 
https://bugs.launchpad.net/bugs/909424

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-30  7:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-29 18:55 cfdisk fails to zap mac partition table Phillip Susi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).