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, Mar 16, 1:50 AM
Unknown Object (File)
Mon, Mar 9, 9:05 AM
Unknown Object (File)
Thu, Feb 26, 12:23 PM
Unknown Object (File)
Thu, Feb 26, 12:06 PM
Unknown Object (File)
Feb 9 2026, 11:25 PM
Unknown Object (File)
Jan 26 2026, 8:11 PM
Unknown Object (File)
Jan 26 2026, 9:56 AM
Unknown Object (File)
Jan 26 2026, 6:09 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 69538
Build 66421: arc lint + arc unit

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.