mke2fs

Denys Vlasenko vda.linux at googlemail.com
Wed Oct 21 21:25:14 UTC 2009


On Wednesday 21 October 2009 19:10, Vladimir Dronnikov wrote:
> Hi!
> 
> Situation:
> 
> dd if=/dev/zero of=fs bs=1K count=60
> 
> /sbin/mke2fs -F fs 120 # extends fs!!! And what if "fs" would be real
> /dev/hda1?!
> ./busybox mke2fs -F fs 120 # doesn't extend fs. But all filesystem
> structures are wrong, so e2fsck fails.
> 
> What is the right behavior we should stick to?

I just committed a fix: write a single zero byte at the requested
size position.
--
vda


More information about the busybox mailing list