1834788 Members
2660 Online
110070 Solutions
New Discussion

make_depots

 
GXW_1
Frequent Advisor

make_depots

What's the difference between these two commands? Sorry if there are line-feeds in the middle.

/opt/ignite/bin/make_depots -s /tmp/some_depot_I_created -d /var/opt/ignite/depots/Rel_B.11.31/my_new_depot

And

cp -pr /tmp/some_depot_I_created /var/opt/ignite/depots/Rel_B.11.31/my_new_depot

It's not a trick question, I'm just asking if make_depots does anything more than the copy would, when the source is a depot rather than a DVD?
3 REPLIES 3
mobidyc
Trusted Contributor

Re: make_depots

Hello,

make_depots will register the depot after the copy, for other differences, make_depots(1M) is very usefull, see the 'Target Depot' paragraph.

if you prefer not use the make_depots commands, consider using 'swcopy' instead of 'cp'.

Regards,
Cedrick Gaillard
Best regards, Cedrick Gaillard
Steven E. Protter
Exalted Contributor

Re: make_depots

Shalom,

Yes, make_depots is more than a simple copy. It creates SD-UX depots which are the primary install points for HP-UX software.

When making an Ignite image of a server you generally need for Golden images at least to do a swcopy of the DVD as well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
GXW_1
Frequent Advisor

Re: make_depots

OK, thanks, I might try swcopy.

btw, "some_depot_I_created" was supposed to imply I'd already used make_depots to make that from the DVDs.