1833828 Members
2354 Online
110063 Solutions
New Discussion

Re: Tape file

 
Vani Hegde
Occasional Contributor

Tape file

Hi,
can someone tell me how to create a tape file? Is this the place if i need to check something before i need to install, like preinstallation tasks like disk space, a patch version number etc. Some examples are greatly appreciated.

Thanks.
vani
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: Tape file

Your question is very unclear. Do you wish to make the device files for a new tape device? e.g. /dev/rmt/1m If so, then you can use SAM to create these.

Do you wish to copy the contents of a directory to a tar?
e.g.
cd /mydir
tar cvf /dev/rmt/1m .

Or do you wish to create a filesystem on a tape? HP-UX does not have block tape devices so that operation is not possible.

A little clarity would help.
If it ain't broke, I can fix that.
Vani Hegde
Occasional Contributor

Re: Tape file

Hi,
thanks for your response. Here is my problem which i tried to generalise. My product uses swinstall to install a sw package, which tries to check whether a particular version of a software patch exists. But that patch number is old and new patches have arrived and my product fails to install since it checks for this patch existing. So i want to change this feature.

I looked in to the files and i found a tape file, twipspi-hp11.tape which has the following piece of code, which i thought is causing the problem.

FILESET SPI-WIP-CORE
DESCR "WIP-SPI Core Files"
PREREQ DSI2DDF,r>=A.01.00
SECURE NO
END_FILESET

DSI2DDF,r>=A.01.00. the newer version of this DSI2DDF is A.01.11, and my product does stop in the middle of the installation giving the error about DSI2DDF version.

What do i do? How can i fix it? Which script is executed by this tape file?

Please help.

Regards,
Vani.
vani
Clemens van Everdingen
Honored Contributor

Re: Tape file

Hi,

I guess a better way of doing this is to use the autoselect_patches=true option from swinstall

man swinstall gives all possible options

extract from this:

superseding and ancestor attributes) for a software object that a user selects for a swinstall or swcopy operation. When set to false, the patches coressponding to the selected object, are not automatically selected.

Regards,
Clemens
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !