4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license from the top-level
9 * OPENSOLARIS.LICENSE or <http://opensource.org/licenses/CDDL-1.0>.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each file
14 * and include the License file from the top-level OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049).
24 * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC.
31 * Absolute path for the default zed configuration file.
33 #define ZED_CONF_FILE SYSCONFDIR "/zfs/zed.conf"
36 * Absolute path for the default zed pid file.
38 #define ZED_PID_FILE RUNSTATEDIR "/zed.pid"
41 * Absolute path for the default zed state file.
43 #define ZED_STATE_FILE RUNSTATEDIR "/zed.state"
46 * Absolute path for the default zed script directory.
48 #define ZED_SCRIPT_DIR SYSCONFDIR "/zfs/zed.d"
51 * Reserved for future use.
53 #define ZED_MAX_EVENTS 0
56 * Reserved for future use.
58 #define ZED_MIN_EVENTS 0
61 * String prefix for ZED variables passed via environment variables.
63 #define ZED_VAR_PREFIX "ZED_"
66 * String prefix for ZFS event names passed via environment variables.
68 #define ZEVENT_VAR_PREFIX "ZEVENT_"