static int format(int argc, char **argv)
{
- const char *desc = "format: re-format a specified namespace on the "\
+ const char *desc = "Re-format a specified namespace on the "\
"given device. Can erase all data in namespace (user "\
"data erase) or delete data encryption key if specified. "\
- "Can also be used to change LBAF such that device may "\
- "disappear from all lists since capacity superficially "\
- "appears to be 0.";
+ "Can also be used to change LBAF to change the namespaces reported physical block format.";
const char *namespace_id = "name of desired namespace";
- const char *lbaf = "LBA format to apply (req'd)";
+ const char *lbaf = "LBA format to apply (required)";
const char *ses = "[0-2]: secure erase";
- const char *pil = "[0-3]: protection info location";
- const char *pi = "[0-1]: protection info off/on";
+ const char *pil = "[0-1]: protection info location last/first 8 bytes of metadata";
+ const char *pi = "[0-3]: protection info off/Type 1/Type 2/Type 3";
const char *ms = "[0-1]: extended format off/on";
const char *timeout = "timeout value";
int err;