On Thu, Aug 10, 2006 at 10:44:46AM -0700, Eric Schrock wrote: > Right now I'm using the generic property mechanism, but have a special > case in dsl_prop_get_all() to ignore searching parents for this > particular property. I'm not thrilled about it, but I only see two > other options: > > 1. Do not use the generic infrastructure. This requires much more > invasive changes that I'd rather avoid. > > 2. From the kernel's perspective have it be inheritable, but then fake > up the non-inherited state in libzfs. i.e. if the source is not > ZFS_SRC_LOCAL, then pretend like it isn't set at all. > > If the current hack is too offensive, moving it into libzfs seems like a > reasonable option.
Yeah, I guess I was suggesting (2), but having a check in dsl_prop code might be better. It would probably be better to base it off some value stored in the zfs_prop_t though, rather than hard-coding "canmount" into dsl_prop.c. --matt _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss