Page MenuHomeFreeBSD

mountd: deprecate exports to a network without mask
ClosedPublic

Authored by karels on Oct 28 2021, 4:50 PM.

Details

Summary

The exports file format allows export to a network using an explicit
mask or prefix length (CIDR). It also allows a network with just
a dotted address, in which case the historical mask was used.
Deprecate this usage, and warn when it is used. Document that this
is deprecated.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Minor comma nit, the rest looks good.

usr.sbin/mountd/exports.5
341

How about Oxford comma here: A, B, or C?

usr.sbin/mountd/exports.5
341

Hmm, I usually use an Oxford comma. I have it added in my copy, will update along with Dd.

This revision is now accepted and ready to land.Oct 28 2021, 7:58 PM