opnsense-src/usr.sbin/makefs
Toomas Soome 507f8523f5 makefs: zfs dataset mountpoints are considered non-empty
The dataset mountpoints get link count and size calculated by
content of dataset root directory, but this will break libzfs
dir_is_empty_stat() test.

For fix, we need to check if the directory is mountpoint for
dataset, and calculate the link count and size accordingly.

Reviewed by:    markj
Differential revision:  https://reviews.freebsd.org/D51593
2025-07-30 00:01:26 +03:00
..
cd9660 makefs: Initialize cd9660 inode map only once 2025-03-01 08:35:15 -05:00
ffs makefs: Ensure that FFS superblocks are reproducible 2025-05-08 15:49:53 +00:00
msdos msdosfs: Add _WANT_MSDOSFS_INTERNALS to replace MAKEFS in headers 2025-06-16 22:33:18 +01:00
sys
tests makefs/zfs tests: Run in parallel 2025-07-21 14:57:58 +00:00
zfs makefs: zfs dataset mountpoints are considered non-empty 2025-07-30 00:01:26 +03:00
cd9660.c makefs: Fix cd9660 duplicate directory names 2024-12-30 14:48:44 -05:00
cd9660.h makefs: Make cd9660 Rock Ridge inodes reproducible 2025-02-28 15:34:52 -05:00
ffs.c makefs: Fix undefined behaviour in ffs.c 2025-07-16 17:06:11 +02:00
ffs.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile src: Use gnu17 as the default C standard for userland instead of gnu99 2025-02-11 09:16:25 -05:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.host Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.options Build host tools on non-FreeBSD host with DIRDEPS_BUILD 2023-04-22 13:13:22 -07:00
makefs.8 makefs/zfs: Allow the user to specify the pool GUID 2025-07-21 14:57:58 +00:00
makefs.c makefs: Honor -T timestamps when creating images from mtree manifests 2025-05-20 11:50:22 +02:00
makefs.h makefs: Honor -T timestamps when creating images from mtree manifests 2025-05-20 11:50:22 +02:00
msdos.c usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
msdos.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
mtree.c makefs: Honor -T timestamps when creating images from mtree manifests 2025-05-20 11:50:22 +02:00
walk.c makefs: Honor -T timestamps when creating images from mtree manifests 2025-05-20 11:50:22 +02:00
zfs.c makefs/zfs: Allow the user to specify the pool GUID 2025-07-21 14:57:58 +00:00