--- - branch: MAIN date: Mon Nov 29 19:54:11 UTC 2010 files: - new: '1.14' old: '1.13' path: src/sbin/resize_ffs/resize_ffs.c pathrev: src/sbin/resize_ffs/resize_ffs.c@1.14 type: modified id: 20101129T195411Z.e74df300a3357817cdf2510fdb6c8239b1b1c13b log: | Restore a couple of checks for updating the cg_old_ncyl value which were commented out with XXX and a notation to "fix once fsck is fixed." fsck seems to have been fixed for this particular issue sometime in the 7 years since the code was brought into the tree. Update cg_old_niblk instead of cg_ni_blk, since this tool currently supports ffsv1 only. With these two changes, I can grow a file system and have the result be clean according to fsck_ffs. Shrinking still results in an unclean file system. OK mhitch@ While I'm here, fix a typo in an error message. module: src subject: 'CVS commit: src/sbin/resize_ffs' unixtime: '1291060451' user: riz