Page MenuHomeFreeBSD

makefs: tests: Fix -D flag test
ClosedPublic

Authored by jlduran on Dec 31 2025, 1:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 26, 8:11 PM
Unknown Object (File)
Mon, Jan 26, 9:56 AM
Unknown Object (File)
Mon, Jan 26, 6:09 AM
Unknown Object (File)
Mon, Jan 26, 5:24 AM
Unknown Object (File)
Sat, Jan 17, 3:03 PM
Unknown Object (File)
Fri, Jan 16, 12:56 AM
Unknown Object (File)
Mon, Jan 12, 11:41 AM
Unknown Object (File)
Mon, Jan 12, 10:02 AM
Subscribers

Details

Summary

As stated in the manual page:

-F is almost certainly not the option you are looking for. To
create an image from a list of files in an mtree format manifest,
specify it as the last argument on the command line, not as the
argument to -F.

This change does exactly that. Also bug #192839 has already been fixed.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

usr.sbin/makefs/tests/makefs_cd9660_tests.sh
64

It is worth mentioning that makefs can still crash mtree if an invalid specification, (invalid type, or no type) is passed. This will be addressed separately.

This revision is now accepted and ready to land.Dec 31 2025, 7:30 AM
This revision was automatically updated to reflect the committed changes.