Date: Tue, 21 Jan 2025 14:09:02 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 283583] makefs(8) -t zfs Assertion on unexpected devfs mount in directory Message-ID: <bug-283583-3630-OKBUpxwNVX@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-283583-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-283583-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283583 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D0ec93987e5302495f9512f8534a2375d7= da4ee2a commit 0ec93987e5302495f9512f8534a2375d7da4ee2a Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2025-01-07 14:31:02 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2025-01-21 14:08:40 +0000 makefs: Handle special file types when creating a zpool Previously, anything other than a regular file, directory or symlink would cause makefs to exit with an assertion failure. Make it a bit more resilient to user error: print a warning and skip the file. Add a regression test wherein we create an image from a devfs mount. PR: 283583 MFC after: 2 weeks (cherry picked from commit ce878284318e71217d8d8f43f7d590b6c338d3aa) usr.sbin/makefs/tests/makefs_zfs_tests.sh | 22 +++++++++++++++++ usr.sbin/makefs/zfs/fs.c | 39 +++++++++++++++++++++++++--= ---- 2 files changed, 54 insertions(+), 7 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283583-3630-OKBUpxwNVX>