3 ms·
Despite what the article says about illumos not having something analogous, we do actually have something and have had it for more than a decade: https://illumo
by jclulow 6y ago
Despite what the article says about illumos not having something analogous, we do actually have something and have had it for more than a decade: https://illumos.org/man/1M/syseventadm https://illumos.org/man/1M/syseventadm
It allows programs to be run in response to sysevents, some of which are generated by ZFS and some of which are generated by other parts of the system (e.g., device hotplug).
- trasz 6y agoSounds similar to FreeBSD's devd(8) (https://www.freebsd.org/cgi/man.cgi?devd https://www.freebsd.org/cgi/man.cgi?devd).
- otterley 6y agoWhere are the events that ZFS emits documented?
- spullara 6y agoTyping your question into Google reveals that they aren't properly documented: http://manpages.ubuntu.com/manpages/bionic/man5/zfs-events.5.html http://manpages.ubuntu.com/manpages/bionic/man5/zfs-events.5...
- gnufx 6y agoThat seems the right approach. Why would you want anything ZFS-specific -- other than events not being documented, which presumably means you dig them out of ZED?