I was wondering, is there a public interface in libscf that supports possibly partial FMRI strings (e.g. "sendmail") that uniquely identify an instance? The use case is I'd like to take a (possibly partial) FMRI, expand it and compare against another FMRI, that may or may not expand to the same instance.
I've used scf_walk_fmri() for this sort of thing in the past, but I was hoping one of the public libscf functions might support this too (experimentation seems to suggest scf_decode_fmri() requires a full FMRI specification, e.g "network/smtp:sendmail"). Thanks! Alan