Page MenuHomeFreeBSD

*: Do not the no-op -r flag for bsdlabel(8)
ClosedPublic

Authored by 0mp on Mar 17 2022, 10:24 AM.
Tags
None
Referenced Files
F102616735: D34585.diff
Thu, Nov 14, 8:57 PM
Unknown Object (File)
Oct 10 2024, 11:08 PM
Unknown Object (File)
Oct 2 2024, 10:03 AM
Unknown Object (File)
Oct 1 2024, 5:26 AM
Unknown Object (File)
Oct 1 2024, 1:11 AM
Unknown Object (File)
Sep 27 2024, 3:04 PM
Unknown Object (File)
Sep 6 2024, 11:15 PM
Unknown Object (File)
Sep 5 2024, 7:58 PM

Details

Summary

The -r flag is ignored by the FreeBSD implementation of bsdlabel(8)
(also called disklabel(8) in the past). Remove its use from examples
and tests in the tree.

This commit does not touch historical documentation under share/doc/smm
and files under contrib/netbsd-tests.

MFC after: 2 weeks

Diff Detail

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

Event Timeline

0mp requested review of this revision.Mar 17 2022, 10:24 AM

s/Not the/Note the/ in the subject.
This flag lost all meaning with the geom rewrite that phk did, so maybe note that... So 4.x time frame, 20-odd years ago.

This revision is now accepted and ready to land.Mar 17 2022, 4:19 PM
In D34585#783648, @imp wrote:

s/Not the/Note the/ in the subject.
This flag lost all meaning with the geom rewrite that phk did, so maybe note that... So 4.x time frame, 20-odd years ago.

Ah, yes, I missed a part of the subject. I'll fix that for the final commit.

I agree that it'd be nice to document that this flag is a no-op. I'll see if I can find a moment to do it.

Thanks, @imp!

This revision was automatically updated to reflect the committed changes.
pauamma_gundo.com added inline comments.
lib/geom/multipath/gmultipath.8
207

Shouldn't that and all the other Nm MULTIPATH use .Sy instead if the intent is emphasis?

lib/geom/multipath/gmultipath.8
207

Yes.

I am worried that this consistent across all geom manual pages so changing it is a bit of patching...