1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00
freebsd/usr.sbin/makefs
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
..
cd9660 makefs: whitespace cleanup (remove space before tab) 2022-09-20 10:26:24 -04:00
ffs makefs: Ignore some sign comparison warnings from GCC. 2022-11-23 10:38:29 -08:00
msdos makefs: Fix warnings and reset WARNS to the default 2022-05-10 17:38:23 -04:00
sys Fix makefs bootstrap after d485c77f20 2021-02-22 17:55:45 +00:00
tests makefs tests: Do not run ZFS tests in parallel 2022-08-29 12:54:25 -04:00
zfs makefs: don't needlessly require directories to exist 2023-01-12 19:16:14 +00:00
cd9660.c makefs: whitespace cleanup (remove space before tab) 2022-09-20 10:26:24 -04:00
cd9660.h makefs: whitespace cleanup (remove space before tab) 2022-09-20 10:26:24 -04:00
ffs.c makefs: whitespace cleanup (remove space before tab) 2022-09-20 10:26:24 -04:00
ffs.h Allocate extra inodes in makefs when leaving free space in UFS images. 2021-04-06 13:43:29 -04:00
Makefile makefs: Add ZFS support 2022-08-05 13:42:29 -04:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
makefs.8 makefs: Add ZFS support 2022-08-05 13:42:29 -04:00
makefs.c makefs: whitespace cleanup (remove space before tab) 2022-09-20 10:26:24 -04:00
makefs.h makefs: whitespace cleanup (remove space before tab) 2022-09-20 10:26:24 -04:00
msdos.c makefs: remove set but not used variables 2021-11-21 21:21:34 -05:00
msdos.h Fix makefs bootstrap after d485c77f20 2021-02-22 17:55:45 +00:00
mtree.c makefs: Ignore the "tags" keyword in mtree manifests 2021-03-23 14:38:40 -04:00
walk.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
zfs.c makefs: Add some validation of ZFS pool names 2022-12-16 10:30:58 -05:00