partition changepolicy
Change a user policy on the partition.
NOTE If you are running more than one LunaCM session against the same partition, and change a partition policy in one LunaCM session, the policy change will be reflected in that session only. You must exit and restart the other LunaCM sessions to display the changed policy settings.
Syntax
partition changepolicy -policy <policy_id> -value <policy_value> [-slot <slot_number>] [-force]
Argument(s) | Shortcut | Description |
---|---|---|
-force | -f | Force action without prompting for confirmation. |
-policy <policy_id> | -p | Specifies the ID of the policy you want to change. Change multiple policies by specifying a comma-separated list for -policy and -value (for example, -policy 33,37,40 -value 0,1,1). |
-slot <slot_number> | -s | Specifies the slot where the partition is located. |
-value <policy_value> | -v | Specifies the new value for the specified policy. Change multiple policies by specifying a comma-separated list for -policy and -value (for example, -policy 33,37,40 -value 0,1,1). |
Example
The output will vary depending on the specific policy being changed and whether or not the change is destructive. Use the command partition showpolicies with the -verbose option to see which commands are destructive and, if destructive, which direction -- On-to-off, or Off-to-on, or both directions.