Operating System - HP-UX
1834009 Members
1530 Online
110063 Solutions
New Discussion

Re: I want to remove patch dir in 10.20.

 
SOLVED
Go to solution
+¦+ó+±
Occasional Advisor

I want to remove patch dir in 10.20.

Hi,
In the HPUX 10.20..
I want to remove some dir in /var/adm/sw/patch.
Which dir can be removed ? I want to remove the oldest patch backup dir.
In /var/adm/sw/patch, what is the difference between %PHCO_XXXXX and PHCO_XXXXX ?
Thanks in advance.
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: I want to remove patch dir in 10.20.

Use the cleanup command to remove stuff out of /var/adm/sw/patch. Do a 'man cleanup' for more info. I generally use 'cleanup -f'.

Bo Thide'
Occasional Advisor

Re: I want to remove patch dir in 10.20.

Use 'cleanup -F'
Computers in science
Stefan Schulz
Honored Contributor

Re: I want to remove patch dir in 10.20.

I also recomend using cleanup. This is tool is easy to use an secure in removing old patches.

Do a man cleanup for options. cleanup -F removes all patch - backups.

Hope this helps.

Stefan
No Mouse found. System halted. Press Mousebutton to continue.
James R. Ferguson
Acclaimed Contributor
Solution

Re: I want to remove patch dir in 10.20.

Hi:

Do *NOT* manually remove or otherwise alter the /var/adm/sw directories contents. Use the 'cleanup' command to manage it.

Running 'cleanup' withou any options allows you to reclaim space in /var by removing backups of patches that have been superseded.

Running 'cleanup -F' will remove backups of ALL patches whether or not they have been superceded. Using this option eliminates the possiblity of backing out a patch, so make sure that you are satisfied with all patch behavior before doing this.

The patches in /var/adm/sw/patch that look like begin with a percent symbol ("%") represent superseded patches.

...JRF...
CHRIS_ANORUO
Honored Contributor

Re: I want to remove patch dir in 10.20.

The %PH**_***** are backed up or superceded PATCH files, using the cleanup -F command will help in removing the files.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.