The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/openzfs/cmd/zed/zed.d/

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

Name Size Last modified (GMT) Description
Back Parent directory 2023-01-28 21:00:03
File Makefile.am 1725 bytes 2023-01-28 21:00:03
File README 1031 bytes 2023-01-28 21:00:03
File all-debug.sh 527 bytes 2023-01-28 21:00:03
File all-syslog.sh 2026 bytes 2023-01-28 21:00:03
File data-notify.sh 1382 bytes 2023-01-28 21:00:03
File generic-notify.sh 1954 bytes 2023-01-28 21:00:03
File history_event-zfs-list-cacher.sh.in 2549 bytes 2023-01-28 21:00:03
File pool_import-led.sh 6057 bytes 2023-01-28 21:00:03
File resilver_finish-notify.sh 1678 bytes 2023-01-28 21:00:03
File resilver_finish-start-scrub.sh 654 bytes 2023-01-28 21:00:03
File scrub_finish-notify.sh 1678 bytes 2023-01-28 21:00:03
File statechange-led.sh 6057 bytes 2023-01-28 21:00:03
File statechange-notify.sh 2604 bytes 2023-01-28 21:00:03
File trim_finish-notify.sh 970 bytes 2023-01-28 21:00:03
File vdev_attach-led.sh 6057 bytes 2023-01-28 21:00:03
File vdev_clear-led.sh 6057 bytes 2023-01-28 21:00:03
File zed-functions.sh 16685 bytes 2023-01-28 21:00:03
File zed.rc 4211 bytes 2023-01-28 21:00:03

    1 Shell scripts are the recommended choice for ZEDLETs that mostly call
    2 other utilities and do relatively little data manipulation.
    3 
    4 Shell scripts MUST work on both bash and dash.
    5 
    6 Shell scripts MUST run cleanly through ShellCheck:
    7   http://www.shellcheck.net/
    8 
    9 General functions reside in "zed-functions.sh".  Use them where applicable.
   10 
   11 Additional references that may be of use:
   12 
   13   Google Shell Style Guide
   14   https://github.com/google/styleguide/blob/gh-pages/shell.xml
   15 
   16   Dash as /bin/sh
   17   https://wiki.ubuntu.com/DashAsBinSh
   18 
   19   Common shell script mistakes
   20   http://www.pixelbeat.org/programming/shell_script_mistakes.html
   21 
   22   Filenames and Pathnames in Shell: How to do it Correctly
   23   http://www.dwheeler.com/essays/filenames-in-shell.html
   24 
   25   Autoconf: Portable Shell Programming
   26   https://www.gnu.org/software/autoconf/manual/autoconf.html#Portable-Shell
   27 
   28 Please BE CONSISTENT with the existing style, check for errors,
   29 minimize dependencies where possible, try to be portable,
   30 and comment anything non-obvious.  Festina lente.

[ source navigation ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.