The same problems exists in ufsutils/8.2-3. Please find attached a patch
for the aforementioned version that addresses this issue.
Regards,
Nikos
Index: ufsutils-8.2/sbin/growfs/growfs.c
===
--- ufsutils-8.2.orig/sbin/growfs/growfs.
Hello all,
The " bogus sectorsize: 0" error is because the get_dev_size() function
in growfs.c only works when using the FreeBSD kernel. The sectorsize and
mediasize local variables get initialized only if HAVE_BSD_DISKLABEL is
defined, and this gets defined only when compiling the source under
De
Package: ufsutils
Version: 7.3-1+b1
Severity: important
Tags: squeeze experimental lenny sid
When I run growfs.ufs on partition or image, grows reports:
growfs.ufs: bogus sectorsize: 0
You could reproduce this way:
root@qtest:~# dd if=/dev/zero of=tmp2.img bs=128k count=1k
1024+0 records in
10
3 matches
Mail list logo