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> [-slot <slot_number>] [-value <policy_value>] [-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.
-slot <slot_number> -s Specifies the slot where the partition is located.
-value <policy_value> -v Specifies the new value for the specified policy.

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.