freebsd-nq/usr.sbin/makefs/zfs
Brooks Davis 6e011d1503 makefs: don't needlessly require directories to exist
If a type=dir entry exists and all contents are directories, files
added with contents=, or symlinks with link= attributes then it doesn't
need to exist.  Just let openat fail in that case.  It's conceivable
this will make debugging some cases weird, but it's sufficent to handle
the way we add /root/.ssh in CheriBSD VM images.

This is a recommit of 794154149f with
bugfixes.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D38029
2023-01-12 19:16:14 +00:00
..
dsl.c makefs: Fix handling of inherited mountpoints 2022-10-28 17:00:22 -04:00
fs.c makefs: don't needlessly require directories to exist 2023-01-12 19:16:14 +00:00
Makefile.inc makefs: Ignore some sign comparison warnings from GCC. 2022-11-23 10:38:29 -08:00
objset.c makefs: Fix issues building as a cross-tool on non-FreeBSD 2022-08-18 02:46:28 +01:00
vdev.c makefs zfs: Disable -Wunused-function for GCC as well. 2022-11-23 10:35:30 -08:00
zap.c makefs: Add a cast to placate static analyzers 2022-10-04 13:05:54 -04:00
zfs.h makefs: Fix issues building as a cross-tool on non-FreeBSD 2022-08-18 02:46:28 +01:00