Date: Thu, 5 Sep 2019 20:55:23 +0300 From: Nikos Vassiliadis <nvass@gmx.com> To: freeBSd-stable@freebsd.org Subject: devd rule wierd output Message-ID: <2c82b556-59e8-cee1-19ab-7b16666ee58a@gmx.com>
next in thread | raw e-mail | index | archive | help
Hi,
I have this in my devd rules:
> notify 10 {
> match "system" "ZFS";
> match "type" "misc.fs.zfs.scrub_start";
> action "touch /var/run/scrub_$pool_name; logger -t ZFS 'zpool $pool_name started scrubbing'";
> };
While this is working OK on FreeBSD-10, on FreeBSD-12 I noticed that
$pool_name is different. FreeBSD-10:
Sep 5 20:35:56 clio ZFS: zpool clio started scrubbing
FreeBSD-12:
Sep 5 20:47:35 aurora ZFS[1302]: zpool $aurora-os started scrubbing
While it assigns the value, it weirdly includes a dollar sign
at the front.
Thoughts?
Should I open a PR?
Nikos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2c82b556-59e8-cee1-19ab-7b16666ee58a>
