CVSROOT: /cvs Module name: src Changes by: dco...@cvs.openbsd.org 2011/05/23 04:56:18
Modified files: sbin/newfs : mkfs.c newfs.8 newfs.c Log message: Allow specifying k/m/g/... suffixes in newfs(8) -S and -s options. Useful for mount_mfs, now you can just say: # mount_mfs -s 50m swap /tmp And it will do what you want, taking into account sector size. Old behaviour of -s (specifying count of sectors) is, of course, preserved. All the work was done by Vadim Zhukov (persgray(at)gmail com). OK myself, otto@, thib@