Bug#632832: ufsutils: growfs.ufs do not work
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
1024+0 records out
134217728 bytes (134 MB) copied, 0,37235 s, 360 MB/s
root@qtest:~# dd if=/dev/zero of=tmp1.img bs=128k count=1k
1024+0 records in
1024+0 records out
134217728 bytes (134 MB) copied, 0,553614 s, 242 MB/s
root@qtest:~# mkfs.ufs ./tmp1.img
./tmp1.img: 128.0MB (262144 sectors) block size 16384, fragment size
2048
using 4 cylinder groups of 32.02MB, 2049 blks, 4160 inodes.
super-block backups (for fsck -b #) at:
160, 65728, 131296, 196864
root@qtest:~# cat tmp2.img >> tmp1.img
root@qtest:~# ls -lsha tmp1.img
257M -rw-r--r-- 1 root root 256M Июл 6 13:45 tmp1.img
root@qtest:~# growfs.ufs ./tmp1.img
growfs.ufs: bogus sectorsize: 0
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-lib-forsete-kvm-0.0.4 (SMP w/24 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ufsutils depends on:
ii libbsd0 0.2.0-1 utility functions from BSD systems
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libedit2 2.11-20080614-2 BSD editline and history libraries
ii libncurses5 5.9-1 shared libraries for terminal hand
ufsutils recommends no packages.
ufsutils suggests no packages.
-- no debconf information
Reply to: