The reason why mke2fs doesn't zap sector 0 is because if someone is
installing Linux on the whole disk (i.e., on /dev/sda instead of
/dev/sda1), that sector is also the partition label and boot sector.
And there isn't a good/portable way to determine whether a device is the
whole disk or partition.  And it would be a pretty horrible abstraction
violation if mke2fs was trying to figure out whether there was something
valuable in sector 0, whether it's a grub boot sector, or grub2 boot
sector, or a EFI boot sector, or a FAT label....

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/463015

Title:
  Both fat and ext[234] boot sectors present at once cause confusion

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/463015/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to