Quoth Robert Thurlow on Mon, Sep 18, 2006 at 04:08:13PM -0600:
> I'm trying to specify SMF properties for the CIFS client.  The
> code I'm starting with implements an /etc/nsmb.conf file, with
> stacked sections and key-value pairs, e.g.
...
> In my design so far, I think I need to encode the section and
> property names together in the property name, and I'd like to
> create something I can parse well, so non-alphanumeric characters
> are at a premium. (At least I found underscore! :-)

The syntax for names is defined by the SMF PSARC case.  I find it easier
to reference the code, though.  See the comment in
usr/src/lib/libuutil/common/uu_ident.c .  For property group names and
property names in particular, svc.configd passes UU_NAME_DOMAIN to
uu_check_name().


David

Reply via email to