Hi Lonnie!

Lonnie Cumberland writes:
> > Since you have OI installed and running, can't you just install the login
> > greeter and use 'pkg contents' to get the contents and then use some
> > scripting to total up its size on disk?  Or would that pull in way too
> > much stuff?
> >
> >
> I am thinking that this might be possible. Perhaps setup a non-global zone
> and install the package there so that I can trace down the component sizes.
> Will have to figure out how to create the non-global zone and then do this.

Could it be that you have a tendency to... overcomplicate things? ;-)

So you want to know the sizes of all file objects that a given IPS
package would install?  Easy as pie:

  $ pkg contents -r -t file -o path,pkg.size bbc/system/tools
  PATH                              PKG.SIZE
  opt/local/bin/all_zones              678
  opt/local/bin/arcstat                11162
  opt/local/bin/cpall                   1102
  opt/local/bin/isotouch                 655
  opt/local/bin/memconf               394845
  opt/local/bin/mount_iso               1117
  opt/local/bin/recase                  9952
  opt/local/bin/ztouch                   471
  opt/local/share/man/man1/recase.1     2245
  ...

Doing the sum is left as an exercise for the reader. :-)

[I am simplifying a bit, there are things like variants and facets that
 might distort the sum, but I doubt they will play a big role in the
 login greeter package.]


Regards -- Volker
-- 
------------------------------------------------------------------------
Volker A. Brandt        Consulting and Support for Solaris-based Systems
Brandt & Brandt Computer GmbH                   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANY            Email: [email protected]
Handelsregister: Amtsgericht Bonn, HRB 10513              Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

"When logic and proportion have fallen sloppy dead"

_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to