summaryrefslogtreecommitdiffstats
path: root/cmd/zed/zed_conf.h
diff options
context:
space:
mode:
authorChris Dunlap <[email protected]>2014-09-19 11:10:28 -0700
committerBrian Behlendorf <[email protected]>2014-09-25 13:54:17 -0700
commitdcca723acee9803561dd7ef456a28c4684c28e86 (patch)
tree082e642033d282e30adf72f07b0678083009cd0d /cmd/zed/zed_conf.h
parent8cb8cf91df8a4902025d814b62b9332ad1b291c7 (diff)
Refer to ZED's scripts as ZEDLETs
The executables invoked by the ZED in response to a given zevent have been generically referred to as "scripts". By convention, these scripts have aimed to be /bin/sh compatible for reasons of portability and comprehensibility. However, the ZED only requires they be executable and (ideally) capable of reading environment variables. As such, these scripts are now referred to as ZEDLETs (ZFS Event Daemon Linkage for Executable Tasks). Signed-off-by: Chris Dunlap <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2735
Diffstat (limited to 'cmd/zed/zed_conf.h')
-rw-r--r--cmd/zed/zed_conf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/zed/zed_conf.h b/cmd/zed/zed_conf.h
index 51b98ea76..126075842 100644
--- a/cmd/zed/zed_conf.h
+++ b/cmd/zed/zed_conf.h
@@ -42,8 +42,8 @@ struct zed_conf {
int max_events; /* RESERVED FOR FUTURE USE */
char *conf_file; /* abs path to config file */
char *pid_file; /* abs path to pid file */
- char *script_dir; /* abs path to script dir */
- zed_strings_t *scripts; /* names of enabled scripts */
+ char *zedlet_dir; /* abs path to zedlet dir */
+ zed_strings_t *zedlets; /* names of enabled zedlets */
char *state_file; /* abs path to state file */
int state_fd; /* fd to state file */
libzfs_handle_t *zfs_hdl; /* handle to libzfs */