Matthew Ahrens wrote: >> You can set the property attribute to be readonly and invisible which >> would keep anybody from touching via the zfs(1) command. > > Right, but Darren wants it to exist in userland at all (eg, for no ioctl > to mention its existence). I believe that readonly/invisible properties > are still in the nvlist that we pass up to userland. I think you'd have > to add a special case to dsl_prop_get_all() for it to not be passed up > to userland.
Yep just been looking at the code and spotted that. Rather than adding a special case for my options it is probably better to extend the table with a new boolean (pd_ioctl) which I'd set to false, right ? -- Darren J Moffat