opnsense-src/usr.sbin/makefs/ffs
Nathan Whitehorn 3d9fd6ad1c Allocate extra inodes in makefs when leaving free space in UFS images.
By default, makefs(8) has very few spare inodes in its output images,
which is fine for static filesystems, but not so great for VM images
where many more files will be added. Make makefs(8) use the same
default settings as newfs(8) when creating images with free space --
there isn't much point to leaving free space on the image if you
can't put files there. If no free space is requested, use current
behavior of a minimal number of available inodes.

Reviewed by:	manu
MFC after:	3 weeks
Differential Revision:	https://reviews.freebsd.org/D29492

(cherry picked from commit afb6a168f8)
2021-04-26 21:08:48 -04:00
..
buf.c makefs: use FreeBSD brelse function signature 2018-07-26 13:33:10 +00:00
buf.h makefs: share denode.h between kernel msdosfs and makefs 2019-08-21 19:07:13 +00:00
ffs_alloc.c makefs: use FreeBSD brelse function signature 2018-07-26 13:33:10 +00:00
ffs_balloc.c makefs: use FreeBSD brelse function signature 2018-07-26 13:33:10 +00:00
ffs_bswap.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ffs_extern.h
ffs_subr.c Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
Makefile.inc makefs: tidy up reach-over source 2018-04-20 22:23:38 +00:00
mkfs.c Allocate extra inodes in makefs when leaving free space in UFS images. 2021-04-26 21:08:48 -04:00
newfs_extern.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ufs_bmap.c
ufs_bswap.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ufs_inode.h