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
F103416095: D34585.diff
Sun, Nov 24, 5:52 PM
F103416088: D34585.diff
Sun, Nov 24, 5:52 PM
Unknown Object (File)
Sat, Nov 23, 10:49 AM
Unknown Object (File)
Thu, Nov 21, 2:38 AM
Unknown Object (File)
Thu, Nov 21, 1:06 AM
Unknown Object (File)
Sun, Nov 17, 5:47 PM
Unknown Object (File)
Sun, Nov 17, 2:03 PM
Unknown Object (File)
Sun, Nov 17, 12:23 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...