.. option:: --read-only
- Map readonly.
+ Map read-only.
.. option:: --nbds_max *limit*
.. option:: --exclusive
- Forbid other clients write.
+ Forbid writes by other clients.
Image and snap specs
====================
-p [ --pool ] arg pool name
--image arg image name
--snap arg snapshot name
- --read-only mount read-only
- --exclusive forbid other clients write
+ --read-only map read-only
+ --exclusive forbid writes by other clients
--device arg specify nbd device
--nbds_max arg override module param nbds_max
--max_part arg override module param max_part
at::add_image_or_snap_spec_options(positional, options,
at::ARGUMENT_MODIFIER_NONE);
options->add_options()
- ("read-only", po::bool_switch(), "mount read-only")
- ("exclusive", po::bool_switch(), "forbid other clients write")
+ ("read-only", po::bool_switch(), "map read-only")
+ ("exclusive", po::bool_switch(), "forbid writes by other clients")
("device", po::value<std::string>(), "specify nbd device")
("nbds_max", po::value<std::string>(), "override module param nbds_max")
("max_part", po::value<std::string>(), "override module param max_part");
<< " list-mapped List mapped nbd devices\n"
<< "Options:\n"
<< " --device <device path> Specify nbd device path\n"
- << " --read-only Map readonly\n"
+ << " --read-only Map read-only\n"
<< " --nbds_max <limit> Override for module param nbds_max\n"
<< " --max_part <limit> Override for module param max_part\n"
- << " --exclusive Forbid other clients write\n"
+ << " --exclusive Forbid writes by other clients\n"
<< std::endl;
generic_server_usage();
}