Antonello Cruz writes:
> Volker A. Brandt wrote:
> > Maybe a quick fix could be to enhance SMF with an additional state:
> >
> >   legacy_run, disabled, maintenance, online, package
> >
> > And give "svcs" a "-t <type>" switch with a behavior similar to
> > "zfs list -t snapshot".
> >
> > So "svcs -t package" would list those services, but "svcs -a" would not.
> That would break the meaning of svcs -a The -a means "Show all
> services".

Yes.  That was intentional.  Like "zfs list" which will show all
objects except snapshots.  They are hidden until you specify the
type snapshot as an option to the list argument.

> I don't agree
> this is a problem. What are you trying to accomplish that you need to
> use svcs -a and the output of the services used by pkg(5) gets in the way?

Reduce clutter.  Protect the admin from seeing things that look like
services but really are metainformation storage containers for packaged
objects.


Regards -- Volker
-- 
------------------------------------------------------------------------
Volker A. Brandt                  Consulting and Support for Sun Solaris
Brandt & Brandt Computer GmbH                   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim                     Email: v...@bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513              Schuhgröße: 45
Geschäftsführer: Rainer J. H. Brandt und Volker A. Brandt
_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to