cfdisk fails to zap mac partition table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux