The Reservation Register command is used to register, unregister, or replace a reservation key\&.
.SH"OPTIONS"
.PP
\-n <nsid>, \-\-namespace\-id=<nsid>
.RS4
Override the nsid field\&. If using the admin character device, this parameter is required\&.
.RE
.PP
\-c <crkey>, \-\-crkey=<crkey>
.RS4
Current Reservation Key: If the Reservation Register Action is 001b (i\&.e\&., Unregister Reservation Key) or 010b (i\&.e\&., Replace Reservation Key), then this field contains the current reservation key associated with the host\&. For all other Reservation Register Action values, this field is reserved\&. The controller ignores the value of this field when the Ignore Existing Key (IEKEY) bit is set to \(oq1\(cq\&.
.RE
.PP
\-k <nrkey>, \-\-nrkey=<nrkey>
.RS4
New Reservation Key: If the Reservation Register Action is 000b (i\&.e\&., Register Reservation Key) or 010b (i\&.e\&., Replace Reservation Key), then this field contains the new reservation key associated with the host\&. For all other Reservation Register Action values, this field is reserved\&.
.RE
.PP
\-p <cptpl>, \-\-cptpl=<cptpl>
.RS4
Change Persist Through Power Loss State: This field allows the Persist Through Power Loss state associated with the namespace to be modified as a side effect of processing this command\&.
.TS
allbox tab(:);
lt lt
lt lt
lt lt
lt lt
lt lt.
T{
Value
T}:T{
Definition
T}
T{
0
T}:T{
No change to PTPL state
T}
T{
1
T}:T{
Reserved
T}
T{
2
T}:T{
Set PTPL state to \(oq0\(cq\&. Reservations are released and registrants are cleared on a power on\&.
T}
T{
3
T}:T{
Set PTPL state to \(oq1\(cq\&. Reservations and registrants persist across a power loss\&.