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.
ze is the right thing to do.
You can always ask the kernel for the sector size value by triggering an
appropriate ioctl system call:
ioctl(fd, DIOCGSECTORSIZE, §orsize) (for freeBSD)
ioctl(fd, BLKSSZGET, §orsize) (for Linux)
but I haven't changed this to make the patch as less intrusive as possi
2 matches
Mail list logo