* David Bustos <David.Bustos at sun.com> [2006-04-27 11:45]: > Does anyone have any opinions on these new options for svcprop? > > -1 Can only be used with arguments which specify > a single property. If the property has a single > value, then it is printed, without quotation. If > the property has no values or multiple values, > then svcprop will print nothing and exit with > status 3. > > -T type Can only be used with the -1 option. If the > specified property has a type other than _type_ > or a subtype of _type_, svcprop will print > nothing and exit with status 4. Why is -T not useful without -1?
> Hmm, I wonder if we should also allow svcprop with no operands, which > would automatically use scf_myname() to determine the current service. Requires all processes to provide sanitized environments to their descendants or scf_myname() to be a bit more contract aware... but interesting. - Stephen -- Stephen Hahn, PhD Solaris Kernel Development, Sun Microsystems stephen.hahn at sun.com http://blogs.sun.com/sch/