Operating System - HP-UX
1834053 Members
2482 Online
110063 Solutions
New Discussion

Re: Regarding swmodify command

 
srinu_1
Frequent Advisor

Regarding swmodify command

Hi all,

What is use of swmodify command?.is there any difference between the swremove and swmodify commands.

Thanks
srinu.
3 REPLIES 3
Raj D.
Honored Contributor

Re: Regarding swmodify command

Srinu ,


swmodify modify software products in a target root or depot , exaple: adding new objects , deleting existing objects , modifying attribute values , committing software patches etc.


swremove : unconfigure and remove software products .


hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Chauhan Amit
Respected Contributor

Re: Regarding swmodify command

swmodify does not manipulate the actual files that make up a product (fileset). The command manipulates the catalog information which describes the files.

swremove command removes software_selections from
target_selections (e.g. root file systems). When removing installed
software, swremove also unconfigures the software before it is
removed. The software is not unconfigured when removed from an
alternate root directory since it was not configured during
installation.

-Amit
If you are not a part of solution , then you are a part of problem
Arunvijai_4
Honored Contributor

Re: Regarding swmodify command

Hi Srinu,

# swmodify is used to modify some attributes in a depot where as # swremove removes the entire depot or fileset whatever you specify.

Hope this is clear.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"