Patch Name: PHCO_19013 Patch Description: s700_800 11.04 (VVOS) dd(1) patch block/unblock conversion Creation Date: 99/06/23 Post Date: 99/09/03 Hardware Platforms - OS Releases: s700: 11.04 s800: 11.04 Products: N/A Filesets: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_19013 Symptoms: PHCO_19013: Repackaged HP-UX patch PHCO_13205 for VVOS. Based on HP-UX patch PHCO_13205: When using conv=block/unblock, the output buffer is flushed at cbs, rather than obs. Assuming cbs is much smaller than obs (which it normally is), this means the file is written in relatively small chunks, requiring a much larger number of writes to complete the data copy. The user can see this reflected in the dd(1) output; for "records out", it is likely to show 0 (zero) full records and a large number of partial records. This problem is especially significant when the output file is a tape device, where inter-record gaps (IRGs) occur between writes. This could result in the user reaching end-of-tape very unexpectedly. Defect Description: PHCO_19013: Repackaged HP-UX patch PHCO_13205 for VVOS. Based on HP-UX patch PHCO_13205: dd(1) gives incorrect results when conv=block or conv=unblock is used and cbs < obs. (And under normal circumstances, cbs is very likely to be less than obs.) For "records out", dd(1) shows 0 (zero) full records and a large number of partial records. This is an especially significant issue if the output file is a tape device, where the user may reach end-of-tape very unexpectedly as a result of the driver inserting inter-record gaps (IRGs) between output records. Resolution: Repackaged HP-UX patch PHCO_13205 for VVOS. SR: 1653209940 Patch Files: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/bin/dd what(1) Output: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/bin/dd: $Revision: 82.2 $ PATCH_11_00: dd.o 97/11/25 cksum(1) Output: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 3440172889 28672 /usr/bin/dd Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHCO_13205: s700: 11.00 s800: 11.00 Patch Package Size: 50 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_19013 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_19013.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_19013. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHCO_19013.depot WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHCO_19013.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_19013.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_19013.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None