Created attachment 222651 [details]
patch lifted from phab D28004
this enables non-amd64 architectures, which were always broken,
and fixes > 12, which is broken since BSD grep required tighter
If people actually use datasets under:
- $ZROOT/iocell/jail/$UUID/root or $ZROOT/iocell/jail/$UUID/data
then I need to refine the regex a little. It's not clear to me if
that's expected usage.
I can confirm that this fixes the build on powerpc64/12.
Bartek - iocell is broken on all arm*, ppc, and 13+ at present. I'd like to commit it next week unless you have objections.