At n2k16 David Vasek pointed out that FFS partitions on 4K disks are
authorkrw <krw@openbsd.org>
Sat, 23 Jul 2016 09:12:33 +0000 (09:12 +0000)
committerkrw <krw@openbsd.org>
Sat, 23 Jul 2016 09:12:33 +0000 (09:12 +0000)
commit4f21f8ec788252158c619caa603514d53f1f46d6
tree4e05a8848fcaa2ef895f022cd96f47a12f258826
parentf752bed1e5713441e97471570b631bbe2609ec4e
At n2k16 David Vasek pointed out that FFS partitions on 4K disks are
created with far fewer inodes than DEV_BSIZE devices.

Scale the default 'density' value by (sector size)/DEV_BSIZE to
create the same number of inodes. Obviously a NO-OP on DEV_BSIZE
devices.

Thanks David!

ok deraadt@
sbin/newfs/newfs.c