1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00
freebsd/usr.sbin/makefs
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
..
cd9660 Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
ffs Allocate extra inodes in makefs when leaving free space in UFS images. 2021-04-26 21:08:48 -04:00
msdos makefs (msdosfs): Use fprintf instead of debug print for errors 2020-08-24 09:20:27 +00:00
tests Revert r362390, those tests are fixed by r362418 2020-06-23 19:14:38 +00:00
cd9660.c Synchronise with NetBSD's version of EFI handling for El Torito images. 2018-03-31 15:04:41 +00:00
cd9660.h Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
ffs.c Allocate extra inodes in makefs when leaving free space in UFS images. 2021-04-26 21:08:48 -04:00
ffs.h Allocate extra inodes in makefs when leaving free space in UFS images. 2021-04-26 21:08:48 -04:00
Makefile Fix makefs bootstrap on macOS after D25563 2020-08-25 13:30:24 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
makefs.8 Allocate extra inodes in makefs when leaving free space in UFS images. 2021-04-26 21:08:48 -04:00
makefs.c makefs: add msdosfs (FAT) support 2019-08-20 18:20:45 +00:00
makefs.h Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
msdos.c Fix contents= being ignored in msdosfs makefs mtree 2019-11-15 18:34:23 +00:00
msdos.h Properly update FSInfo block after generation. 2019-08-23 05:23:45 +00:00
mtree.c makefs: Ignore the "tags" keyword in mtree manifests 2021-04-06 09:07:24 -04:00
walk.c