summaryrefslogtreecommitdiff
path: root/sbin/slattach
diff options
context:
space:
mode:
authorDavid Coppa <dcoppa@cvs.openbsd.org>2011-05-23 10:56:18 +0000
committerDavid Coppa <dcoppa@cvs.openbsd.org>2011-05-23 10:56:18 +0000
commit91383aaafe79d6390c4b6c16c74982abb6ebe7ad (patch)
treee907f7d5d25e232aa352467f015ec59e446b0839 /sbin/slattach
parent2e59221f81865f06090e6b179b83af560a93cd17 (diff)
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@
Diffstat (limited to 'sbin/slattach')
0 files changed, 0 insertions, 0 deletions