[Tux3] mkfs.tux3: wiping other fs signatures

OGAWA Hirofumi hirofumi at mail.parknet.co.jp
Fri Dec 12 13:24:21 PST 2008

"Ph. Marek" <philipp.marek at emerion.com> writes:

>> Ah, I was forgetting about it. I think, first 1024bytes (FAT, NTFS, and
>> EFI), and last 64kbytes (EFI, and MD RAID), should be enough. Right?
> Please, let us be on the safe side, and do the first 256k or even 1M each.
> FAT stores a backup boot sector, and that is typically in the 11th  
> sector, but it can be nearly anywhere else.

No, no. We don't need to worry about the backup-boot sector.

The backup-boot sector is pointed by the boot sector (boot->backup_boot
in linux). So, after we zeroed the boot sector, there is no backup-boot
sector anymore.
OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>

Tux3 mailing list
Tux3 at tux3.org

More information about the Tux3 mailing list