003 File Manager
Current Path:
/usr/src/sys/contrib/openzfs/cmd/zed/zed.d
usr
/
src
/
sys
/
contrib
/
openzfs
/
cmd
/
zed
/
zed.d
/
📁
..
📄
.gitignore
(33 B)
📄
Makefile.am
(1.21 KB)
📄
README
(1.01 KB)
📄
all-debug.sh
(565 B)
📄
all-syslog.sh
(1.93 KB)
📄
data-notify.sh
(1.37 KB)
📄
generic-notify.sh
(1.94 KB)
📄
history_event-zfs-list-cacher.sh.in
(2.44 KB)
📄
pool_import-led.sh
(4.48 KB)
📄
resilver_finish-notify.sh
(1.66 KB)
📄
resilver_finish-start-scrub.sh
(626 B)
📄
scrub_finish-notify.sh
(1.66 KB)
📄
statechange-led.sh
(4.48 KB)
📄
statechange-notify.sh
(2.48 KB)
📄
trim_finish-notify.sh
(987 B)
📄
vdev_attach-led.sh
(4.48 KB)
📄
vdev_clear-led.sh
(4.48 KB)
📄
zed-functions.sh
(13.98 KB)
📄
zed.rc
(3.51 KB)
Editing: all-debug.sh
#!/bin/sh # # Log all environment variables to ZED_DEBUG_LOG. # # This can be a useful aid when developing/debugging ZEDLETs since it shows the # environment variables defined for each zevent. [ -f "${ZED_ZEDLET_DIR}/zed.rc" ] && . "${ZED_ZEDLET_DIR}/zed.rc" . "${ZED_ZEDLET_DIR}/zed-functions.sh" : "${ZED_DEBUG_LOG:="${TMPDIR:="/tmp"}/zed.debug.log"}" zed_exit_if_ignoring_this_event lockfile="$(basename -- "${ZED_DEBUG_LOG}").lock" umask 077 zed_lock "${lockfile}" exec >> "${ZED_DEBUG_LOG}" printenv | sort echo exec >&- zed_unlock "${lockfile}" exit 0
Upload File
Create Folder