Created attachment 185810 [details]
makefs: Reject UFS labels that are too long to fit
If a specified UFS label is too long to fit, makefs currently silently truncates it.
This causes problems if the created file system contains files like
/etc/fstab that expect the whole label.
You may end up with a release image that was built "successfully"
but doesn't actually boot.
The attached patch lets makefs reject UFS labels that don't fit which
makes the issue easier to spot.
Obtained from: ElectroBSD
For bugs matching the following conditions:
- Status == In Progress
- Assignee == "bugs@FreeBSD.org"
- Last Modified Year <= 2017
- Set Status to "Open"