NAME metatool-toolsmenu - Solstice DiskSuite Tool application registry file SYNOPSIS metatool-toolsmenu DESCRIPTION metatool-toolsmenu is used by Solstice DiskSuite's DiskSuite Tool graphical user interface to initialize its `Tools' pulldown menu. metatool-toolsmenu is an ASCII (text editable) file contain- ing entries with variable numbers of fields. Each line in the file represents a single entry. Each line consists of fields separated by delimiter characters (`:' `|' `+' `^') and terminated with a newline. The initial character of an entry indicates the delimeter that will be used for the remainder of the entry. There can be only one delimiter per entry. Blank lines are allowed. Comments start with "#" and con- tinue through the end of the line. Entries in the metatool-toolsmenu file are of the form: :<type>:<field>:... where type indicates the entry type and format for the rest of the entry and field... indicates the data fields for the entry. Currently, as of release 4.1, DiskSuite Tool recognizes only one entry type, `0'. This type specifies an entry consisting of two data fields: :0:<name>:<commandline>: where name indicates the string to be displayed in the Tools pulldown menu and commandline indicates the command line to be passed to system() when the menu item is selected. `:' is a field delimiter and can be one of: `+', `|', `:', or `^'. metatool supports a small set of substitution variables that can be used in the command lines added to the registry in the form: Substitution Variable Value $hostname the current hostname $setname the current diskset name $selection the names of the currently selected objects EXAMPLES This example shows an entry for File Manager. You would see the string "File Manager" on the Tools pulldown menu. Choos- ing this selection would run the command /opt/SUNWadm/2.2/bin/stomgr -F in the current disk set con- text. :0:File Manager...:/opt/SUNWadm/2.2/bin/stomgr -F -m $setname: This example shows an entry for Disk Manager. You would see the string "Disk Manager" on the Tools pulldown menu. Choos- ing this selection would run the command /opt/SUNWadm/2.2/bin/stomgr -D. :0:Disk Manager...:/opt/SUNWadm/2.2/bin/stomgr -D: This example shows a sample registry file for metatool. # Sample Registry for metatool :0:File Manager...:/opt/SUNWadm/2.2/bin/stomgr -F -display $hostname:0.0: :0:Disk Manager...:/opt/SUNWadm/2.2/bin/stomgr -D -m $setname $selection: ATTRIBUTES See attributes(5) for descriptions of the following attri- bute: box; cbp-1 | cbp-1 l | l . ATTRIBUTE TYPE ATTRIBUTE VALUE = Availability SUNWmdg SEE ALSO metatool(1M) Solstice DiskSuite User's Guide, Solstice DiskSuite Refer- ence
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |