Page MenuHomeFreeBSD

nvmecontrol: Flesh out nvmecontrol format information
ClosedPublic

Authored by imp on Thu, Apr 25, 5:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 3:51 AM
Unknown Object (File)
Sun, Apr 28, 6:53 PM
Unknown Object (File)
Sat, Apr 27, 3:52 AM
Unknown Object (File)
Fri, Apr 26, 7:34 PM
Unknown Object (File)
Fri, Apr 26, 7:28 PM
Unknown Object (File)
Fri, Apr 26, 7:28 PM
Unknown Object (File)
Fri, Apr 26, 7:27 PM
Unknown Object (File)
Fri, Apr 26, 4:13 PM

Details

Summary

The format command takes a number of different parameters. Include a
brief summary of what the values mean, though since the driver's support
for metadata is at best weak, 0's are almost always used for values
other than -f format. Add example.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

imp requested review of this revision.Thu, Apr 25, 5:24 PM

This looks good and helps explain (with examples) a common NVMe stumbling block.

sbin/nvmecontrol/nvmecontrol.8
451

I wonder if "index as reported ..." instead of "#, " would make it clear to the user they are using indices reported by the drive and not the format size.

This revision is now accepted and ready to land.Thu, Apr 25, 9:34 PM

update per Chuck's idea of making it clear it's an index. Hopefully this makes
it clearer. Thanks Chuck!

This revision now requires review to proceed.Thu, Apr 25, 11:16 PM
This revision is now accepted and ready to land.Thu, Apr 25, 11:40 PM