Lines Matching +full:zlib +full:- +full:dev
8 if [ -f "${BASE_DIR}/${SCRIPT_COMMON}" ]; then
19 ZED_PIDFILE=${ZED_PIDFILE:-/var/run/zed.pid}
20 LDMOD=${LDMOD:-/sbin/modprobe}
21 DELMOD=${DELMOD:-/sbin/rmmod}
23 KMOD_ZLIB_DEFLATE=${KMOD_ZLIB_DEFLATE:-zlib_deflate}
24 KMOD_ZLIB_INFLATE=${KMOD_ZLIB_INFLATE:-zlib_inflate}
25 KMOD_SPL=${KMOD_SPL:-spl}
26 KMOD_ZFS=${KMOD_ZFS:-zfs}
27 KMOD_FREEBSD=${KMOD_FREEBSD:-openzfs}
39 -h Show this message
40 -v Verbose
41 -r Reload modules
42 -u Unload modules
43 -S Enable kernel stack tracer
69 shift $(( OPTIND - 1 ))
70 [ $# -eq 0 ] || usage
73 if [ -f "$ZED_PIDFILE" ]; then
74 read -r PID <"$ZED_PIDFILE"
87 if lsmod | grep -E -q "^${NAME}"; then
91 if ! modinfo "$KMOD" >/dev/null 2>&1; then
96 if [ -n "$LOADED_MODULES" ]; then
97 printf "Unload the kernel modules by running '%s -u':\n" "$0"
102 if [ -n "$MISSING_MODULES" ]; then
114 …FILE=$(modinfo "$KMOD" 2>&1 | awk 'NR == 1 && /zlib/ && /not found/ {print "(builtin)"; exit} /^f…
122 if ! $LDMOD "$KMOD" >/dev/null 2>&1; then
141 mkdir -p /etc/zfs
169 ! [ -d "/sys/module/$NAME" ] || $DELMOD "$NAME" || return
181 if [ "$STACK_TRACER" = "yes" ] && [ -e "$STACK_MAX_SIZE" ]; then
192 if [ -e "$STACK_MAX_SIZE" ]; then
193 read -r STACK_SIZE <"$STACK_MAX_SIZE"
194 if [ "$STACK_SIZE" -ge "$STACK_LIMIT" ]; then
202 if [ "$(id -u)" != 0 ]; then
211 umount -t zfs -a