Adaptec 2020ZCR Reference Guide - Page 14
Parameter, Blank Space, Parameter and Switch Value Types, Boolean - scsi
UPC - 760884151136
View all Adaptec 2020ZCR manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 14 highlights
Introduction Parameter Although some commands have optional parameters, parameters are usually mandatory. You must place optional parameters after mandatory parameters at the end of the command. For example, the array remove failover command has one required scsi_device parameter and additional optional scsi_device parameters: array remove failover {array} {scsi_device} [{scsi_device}...]. As with switch values, parameters can be of only one type. For example, the array parameter can take only an integer value. All parameters are separated by blank space. A space can be used in a parameter only within a quoted string. Blank Space Blank space is one or more spaces or tabs. Parameter and Switch Value Types A parameter or switch value can be only one of several types. Simple value types include string, Boolean, and integer. Other value types include objects that can be manipulated, such as arrays (or arrays) and SCSI devices. This section explains the CLI parameter and switch value types. Boolean A boolean has a value of either TRUE or FALSE and can be specified with any of the following key words: I TRUE can be specified with TRUE, 1, ON, or YES. For switches, you can also specify TRUE by using the switch without any switch value. For example, /readonly and /readonly=TRUE are identical. I FALSE can be specified with FALSE, 0, OFF, or NO. When a switch is not specified, it takes the default value (usually, FALSE) specified in the switch description section of a command. For example, open aac0 is the same as open /readonly=FALSE aac0. 1-7