12/21/95 Pulling Single PTF from Install or PTF Tape SPECIAL NOTICES Information in this document is correct to the best of our knowledge at the time of this writing. Please send feedback by fax to "AIXServ Information" at (512) 823-5972. Please use this information with care. IBM will not be responsible for damages of any kind resulting from its use. The use of this information is the sole responsibility of the customer and depends on the customer's ability to eval- uate and integrate this information into the customer's operational environment. ABOUT THIS DOCUMENT This document describes how to pull a single PTF from an install or PTF tape and put the PTF file in a directory on the system. This document applies to AIX 3.2.* and 4.1 STEPS 1. Get the toc (table of contents) from the tape with the following commands. NOTES: a. On any install/ptf tape, the toc image is the third file image. Therefore, the "fskip=2" parameter of the dd command should be correct for whatever tape you have. b. Always use the 512 block size in the commands below, even on 8 mm and 4 mm tapes. c. The following commands will create a file called "toc" in the current directory. chdev -l rmt# -a block_size=512 tctl -f /dev/rmt# rewind dd if=/dev/rmt#.1 of=toc ibs=512 fskip=2 2. Search the "toc" file for the PTF which you wish to copy to disk. | Example of part of the "toc" file for AIX 3.2: 01:006 3 R S { bos.obj 03.02.0000.0000.U423981 01 N B En_US Device Drivers [ *prereq bos.obj p=U422458 *prereq bos.obj p=U422467 *prereq bos.obj p=U422437 % Pulling Single PTF from Install or PTF Tape 1 12/21/95 In the above example, the line "01:006 3 R S {" tells us that the information that follows it is the sixth file image on the first volume of the SPO tape. | Example of part of the "toc" file for AIX 4.1: | 001:00006:00031744 4 R S bos.obj { | bos.obj 4.1.2.0 01 N U En_US Device Drivers | [ | *prereq bos.obj 4.1.1.0 | % 3. Extract the PTF from the tape with the following com- mands. NOTE: If the PTF were the sixth image as in the example above, the fskip command below would be "fskip=5". chdev -l rmt0 -a block_size=512 | tctl -f /dev/rmt# rewind dd if=/dev/rmt#.1 of= ibs=512 conv=sync fskip= cd /usr/sbin/inutoc . NOTE: The inutoc command will force the .toc file to be created in the directory where the PTF install image was copied. You should now be able to use SMIT to install the PTF on your system. In the field "INPUT device / directory for software", enter the directory where the PTF install image is located. Pulling Single PTF from Install or PTF Tape 2 12/21/95 READER'S COMMENTS Please fax this form to (512) 823-5972, attention "AIXServ Informa- tion". Use this form to tell us what you think about this document. If you have found errors in it, or if you want to express your opinion about it (such as organization, subject matter, appearance) or make sug- gestions for improvement, this is the form to use. If you need technical assistance, contact your local branch office, point of sale, or 1-800-CALL-AIX (for information about support offer- ings). These services may be billable. Faxes on a variety of sub- jects may be ordered free of charge from 1-800-IBM-4FAX (415-855-4329 outside U.S., from fax machine phone). When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any way it believes appropriate without incurring any obligation to you. NOTE: If you have a problem report or item number, supplying that number may help us determine why a procedure did or did not work in your specific situation. Problem Report or Item #: Branch Office or Customer #: Be sure to print your name and fax number below if you would like a reply: Name: Fax Number: ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ END OF DOCUMENT (pull.ptf.from.tp.anz, 4FAX # 3755) Pulling Single PTF from Install or PTF Tape 3