1834456 Members
2756 Online
110067 Solutions
New Discussion

Removing depots

 
SOLVED
Go to solution
Jesse Delk
Frequent Advisor

Removing depots

Over the years I have ran a few patches. Now it seems as though I have four or five depots sitting here and there.

Should (can) I just remove these by rm command?

I noticed the SAM ulility has a Remove Depot Software section. Do I use this to remove the depots hanging out? I was afraid this may also uninstall the patches and I was just wanting to free up the space (clean up a little) unless I supposed to keep these depots for life.

Examples: /var/spool/sw
/var/spool/sw/patch/depot
/u01/depot
/u01/patches/depot
2 REPLIES 2
Bill Hassell
Honored Contributor
Solution

Re: Removing depots

If swlist shows these depots, you can unregister them with:

swreg -u -l depot /var/spool/sw /var/spool/sw/patch/depot /u01/depot /u01/patches/depot

Then simply remove the directories and contents. The installed patches are located in /var/adm/sw and that you don't want to remove. For the /var/adm/sw directory, use the cleanup command (see the man page).


Bill Hassell, sysadmin
Jesse Delk
Frequent Advisor

Re: Removing depots

Thanks, that did it.