nvram-sw

nvram-sw --alloc [-m MODULE] [-b BYTES] [-n ID] [-k APPNAME,IDENT]
nvram-sw --delete [-m MODULE] [-n ID]
nvram-sw --write [-m MODULE] [-f FILE]
nvram-sw --read [-m MODULE] [-f FILE]
nvram-sw --delete-noadmin [-m MODULE] [-n ID]
nvram-sw --acl [-m MODULE] [-n ID]
nvram-sw --list [-m MODULE]

Views or modifies information about NVRAM areas.

Option Description

Action selection

-a, --alloc

Allocates a new NVRAM area.
ACS is required.

-c, --delete-noadmin

Deletes an NVRAM area without the ACS.
OCS may be required.

-d, --delete

Deletes an NVRAM area.
ACS is required.

-i, --acl

Displays the ACL of the NVRAM area.
OCS may be required.

-l, --list

Lists the entire contents of the NVRAM.

-r, --read

Prints data from the NVRAM area to a file or stdout.
OCS may be required.

-w, --write

Writes data to the NVRAM area from a file or stdin.
OCS may be required.

General option

-x, --hex

Uses hex notation for --nvram-id.

Action-specific options

-b, --bytes=BYTES

Number of bytes.
Default: 100 for allocation and size of file for reading.

-f, --file=FILE

File for input/output.
Default = stdin/stdout.

-k, --key=APPNAME,IDENT

Specify a key during allocation; this will be required on all subsequent reads or writes on the file.

-n, --nvram-id=ID

NVRAM file ID (default = "test-file").

--no-copy

Allocate file with an ACL that disallows copying.

-p, --persistent

For the `list' and 'delete' actions, list/delete only persistent files.

Option to address HSMs

-m, --module=MODULE

Specifies the number of the module to use.
If you only have one module, <MODULE> is 1.
Default: 1.

Help options

-h, --help

Displays help for nvram-sw.

-u, --usage

Displays a brief usage summary for nvram-sw.

-v, --verbose

Prints verbose output for nvram-sw.

-V, --version

Displays the version number of the Security World Software that deploys nvram-sw.