Use this subcommand to change the properties associated with a share. Currently, you can use this subcommand to change the descriptive text associated with a specific share.
This subcommand supports the following options:
Checks the validity of the command-line string.
Specifies the path to the share, which is a file or a directory.
Adds descriptive text about the share.
Assigns the share a resource name that identifies the share. Note that the resource name only uses alphanumeric characters, the hyphen (-), and the underscore (_). The first character in the name must be alphabetic.
Provides an online-help description.
This subcommand uses the following syntax:
# sharemgr set-share [-h] [-n] -s share-path [-d description] [-r resource-name] share_group
The following example shows how a description is changed.
example# sharemgr add-share -s /export/home/home0 -d "original text" my_group example# sharemgr set-share -s /export/home/home0 -d "new text" my_group