Bug 3247 - BusyBox internal mkfs.ext2 overwrites the first 1024 bytes with zeros
Summary: BusyBox internal mkfs.ext2 overwrites the first 1024 bytes with zeros
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.18.x
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-15 04:37 UTC by 404errorqc
Modified: 2012-01-11 00:03 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 404errorqc 2011-02-15 04:37:20 UTC
When run, the mkfs.ext2 applet overwrites the first 1024 bytes of a partition with zeros. This is very annoying in the SPARC world because if the  mkfs.ext2 applet is used from a netboot image to  the first partition of an harddisk (starting at cylinder 0) it overwrites the Sun disklabel on it (including the partitioning information). 

Linux ext2 utilities leave the first 1024 bytes of a partition untouched.