Operating System - HP-UX
1834395 Members
1744 Online
110066 Solutions
New Discussion

Re: What is the syntax to register a depot file as depot?

 
Tingli
Esteemed Contributor

What is the syntax to register a depot file as depot?

I have those depot files in a directory which I want them to be available in the net. But a direct # swreg depot @ /var/spool/sw won't work although I have all those depot files kept there.
6 REPLIES 6
Murat SULUHAN
Honored Contributor

Re: What is the syntax to register a depot file as depot?

Hi

Did you tried as following swreg -l depot /var/spool/sw ?

Best Regards
Murat
Murat Suluhan
James R. Ferguson
Acclaimed Contributor

Re: What is the syntax to register a depot file as depot?

Hi:

# swreg -l depot /var/spool/sw

If you use 'swcopy' to copy files to a depot, regristration of the resulting depot is automatic.

Regards!

...JRF...
David Child_1
Honored Contributor

Re: What is the syntax to register a depot file as depot?

Each of those individual .depot files is it's own depot. You would have to register each one;

swreg -l depot /var/spool/sw/${depot}.depot
Tingli
Esteemed Contributor

Re: What is the syntax to register a depot file as depot?

I thought I could registered the whole directory altogether and failed many times. But after a while I forget the whole painful process and try register the directory again.
Tingli
Esteemed Contributor

Re: What is the syntax to register a depot file as depot?

The answer is there.
Court Campbell
Honored Contributor

Re: What is the syntax to register a depot file as depot?

I just wanted to mention that if you register the individual depots and do not use swcopy you will get an error if you try to access the depot using swinstall on another server. It will state that the depot is a remote tape and cannot be used.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"