Bug#632832: ufsutils: growfs.ufs do not work

2013-05-20 Thread Nikos Skalkotos
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.

Bug#632832: ufsutils: growfs.ufs do not work

2013-04-15 Thread Nikos Skalkotos
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