2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. 2N/A * Just in case we're not in a build environment, make sure that 2N/A * TEXT_DOMAIN gets set to something. 2N/A * Return the values of runtime parameters stored in 2N/A * types appropriate for use by functions whose behavior 2N/A * is affected by those values. 2N/A * system include files 2N/A * SUNWmd include files 2N/A * The following lines define the runtime parameter configuration file. 2N/A * The runtime parameter configuration file is an ascii text file. 2N/A * Each text line in the file has a maximum length of 80 four-byte 2N/A * wide characters. The line buffer size defined below accomodates 2N/A * the maximum line length plus the newline character at the end of 2N/A * the line and the null character that fgets() adds at the end of 2N/A * the line when it writes the line to the buffer. 2N/A * The format for parameter entries in the file is "name=value". 2N/A * Each "name=value" string must begin a line of the file. 2N/A * The "name" and "value" tokens may be preceded or followed by 2N/A * spaces. Lines beginning with "#" are comment lines. 2N/A * If a runtime parameter that can be set in the file is not set, 2N/A * or is set to an invalid value, or if the file can't be opened, 2N/A * the parameter takes on the default value given in the comments 2N/A * The following string constant declarations name the runtime 2N/A * configuration parameters that can be set in the runtime parameter 2N/A * configuration file. The allowed values of parameters that 2N/A * range over small sets of discrete values are also declared below 2N/A * as string constants. 2N/A * CAUTION: When adding new runtime parameters to the runtime 2N/A * parameter configuration file, declare their names 2N/A * as string constants below, and check for conflicts 2N/A * with the names of existing parameters. 2N/A * The "ownerioctls" parameter controls whether the metaset -t and 2N/A * metaset -r commands issue the MHIOCTKOWN, MHIOCRELEASE, and 2N/A * MHIOCENFAILFAST ioctls when taking or releasing ownership of disksets. 2N/A * The allowed parameter values are "on" and "off". 2N/A * If the line "ownerioctls=off" appears in the runtime configuration file, 2N/A * the metaset -t command doesn't issue the MHIOCTKOWN ioctl when taking 2N/A * ownership of disksets, and the metaset -r command doesn't issue the 2N/A * MHIOCRELEASE and MHIOCENFAILFAST ioctls when releasing ownership of 2N/A * If the line "ownerioctls=on" appears in the file, the metaset -t 2N/A * command issues the MHIOCTKOWN ioctl when taking ownership of disksets, 2N/A * and the metaset -r command issues the MHIOCRELEASE AND MHIOCENFAILFAST 2N/A * icotls when releasing ownership of disksets. 2N/A * The default value of "ownerioctls" is "on". 2N/A * The following lines make forward declarations of private functions. 2N/A * The following lines define public functions. 2N/A * If we're bound to a cluster machine never do ioctls. 2N/A * The SC3.0 cluster code will always deal with disk 2N/A "%s: illegal value for %s: %s.\n"),
2N/A "%s: illegal value for %s: %s.\n"),
2N/A * Retrieve the verbosity level for rpc.mdcommd from the config file. 2N/A * If none is specified, don't print a warning and return 0 2N/A * Retrieve the debug output file for rpc.mdcommd from the config file. 2N/A * If none is specified, don't print a warning. 2N/A * Note that if returning non-NULL, the caller is responsible for freeing 2N/A * the result pointer. 2N/A * This controls what type of RPC errors are sent to syslog(). 2N/A * It is used as a bitmask against the clnt_stat list, which defines 2N/A * 0 as RPC_SUCCESS, so likely shouldn't be set. 2N/A * The #define below provides a default of all errors in the list. 2N/A * The default can then be modified to reduce the amount of traffic 2N/A * going to syslog in the event of RPC errors. 2N/A * The "disk_devid_check" parameter controls how disks are identified 2N/A * between the nodes when added to a disk set. 2N/A * By default "disk_devid_check=on" (or not set) a corresponding disk is 2N/A * located on the remote node by searching for the local disks device id. 2N/A * If no device id is available we fall back to using either the EFI device 2N/A * id or the dev_t and device time stamp for VTOC disks. 2N/A * When "disk_devid_check" is defined and not set to "on" only the fall back 2N/A * method is used. For this method to work device names must be constant 2N/A * between all nodes. 2N/A * The following lines define private functions 2N/A "%s: strdup failed\n"),
2N/A "%s: strdup failed\n"),
2N/A "%s: value of %s not set or error in %s\n"),
2N/A "%s: value of %s not set or error in %s\n"),