1827697 Members
3155 Online
109967 Solutions
New Discussion

Re: /opt

 
Scott D. Allen
Regular Advisor

/opt

I recently applied a patch bundle to my K360 running 10.20 and my /opt filesystem jumped up to ~100% used. I am looking at the logs and the new system setup and it looks like there was a patch installed that created the /opt/pd directory structure which contains a lot of files relating to HP printers.

First, why did the swinstall not warn me that /opt would be filled by this patch application?

Second, is this /opt/pd fileset necessary (what does it do and can I remove it)?

Third, there was similarly installed an /opt/graphics fileset. What's the deal there?

TIA.

--Scott
"Sometimes the devil you know is better than the devil you don't know."
6 REPLIES 6
Stefan Farrelly
Honored Contributor

Re: /opt


/opt/pd is part of the fileset DistributedPrint. If you dont want to ever use the distributed print facility then you can certainly swremove it to free up the space.

The basic install of your patches checks for available space, but it doesnt take into account the post-install customisation of these filesets, which can use up more space which you wont be warned about - as in your case. The swinstall didnt overflow /opt, the customisation of hte fileset above did. Not much you can do about that - its up to the programmers who write the postinstall script to check they have enough space before they go using up lots of space !!

/opt/graphics is part of the Xserver fileset. If you dont need to use X on your HP then you can also swremove this fileset.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Scott D. Allen
Regular Advisor

Re: /opt

I'm not familiar with these patches, but I'm assuming the Distributed Print services is for groups of servers offering print services? How can I determine which patch contains these files?
Thanks.

--Scott
"Sometimes the devil you know is better than the devil you don't know."
Stefan Farrelly
Honored Contributor

Re: /opt


Distributed print is not commonly used. Ive never seen a site that use it. As long as your not I dont see a problem removing it if you need the space. To see if a patch used this dir do;

swlist -l file | grep "/opt/pd/"

And it will list all filesets that use this dir, including patches and the distributed source fileset, all of which you can swremove - patches first.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Alan Anderson
New Member

Re: /opt

Distributed Print Service is a second print spooler included with your OS. Most people don't use it because it is resource intensive. It does allow for many more option in printer configuration, etc.
If you'r enot using it, you can swremove the patch and the fileset - however, make sure you don't remove any of the dependencies. One of the dependencies for the DistributedPrint fileset is DCE, and if you remove that you will be reinstalling your system.
Tim Malnati
Honored Contributor

Re: /opt

I'm wondering how you selected patches for installation. Did you perform a 'Match What Target Has'? You say that both /opt/pd and /opt/graphics were not there previously suggesting that these filesets are new (and should not have been selected). In some cases a patch will be complete enough to add the entire product, so analysis will allow their addition if you have them selected. I suggest you carefully look at the log files under /var/adm/sw and see exactly what was added to your system. There may be some other things that are new also. Be sure to use swremove to eliminate anything you don't need/want. Removing things with 'rm' will leave the filesets in your SD database fooling SD into selecting these fileset patches in the future.
Scott D. Allen
Regular Advisor

Re: /opt

Last topic. Can I say that if noone is using Xterms or Xdisplays that I don't need the GraphicsCommon product group installed? Also, is it common to have the AudioSubsystem NOT installed? I would think so, but it seems to be prevalent on our boxes here.

--Scott
"Sometimes the devil you know is better than the devil you don't know."