Re: devd rule wierd output

2019-09-08 Thread Nikos Vassiliadis
On 2019-09-05 21:25, Warner Losh wrote: Please file a PR. Ideally, if you could connect to /var/run/devd.pipe before starting the scrub and including the output on 10 and 12, that would be great. Thanks! Here's the PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240411

Re: devd rule wierd output

2019-09-05 Thread Warner Losh
On Thu, Sep 5, 2019 at 12:08 PM Nikos Vassiliadis wrote: > 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 >

devd rule wierd output

2019-09-05 Thread Nikos Vassiliadis
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