Patch Name: PHCO_22327 Patch Description: s700_800 11.04 (VVOS) df(1M) cumulative patch Creation Date: 00/09/25 Post Date: 00/10/02 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 enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_22327 Symptoms: PHCO_22327: Repackaged base HP-UX patch PHCO_22276 for VVOS Based on HP-UX patch PHCO_22276: Program abort. Based on HP-UX patch PHCO_21902: Since autofs file systems are now supported, the df(1m) command must explicitly skip file systems of that type. The df(1m) command should not report on autofs file systems. The autofs will cause df -k core dump. Users will see "Floating exception(coredump)". Based on HP-UX patch PHCO_18470: Enchancement to report information on VxFS version 4 filesystem. PHCO_19026: Repackaged base HP-UX patch PHCO_13983 for VVOS Based on HP-UX patch PHCO_13983: This patch allows df to display input for very long file/path names. For example, if a file system is mounted on /usr/TST90123456789012345678901234567890, executing 'df' will properly display it. However, if you 'cd /usr' and do df TST90123456789012345678901234567890 df will fail with: df:open of /usr/TST901234567890123456789012 failed. This patch also includes changes to support networking features, such as AutoFS. Defect Description: PHCO_22327: Repackaged base HP-UX patch PHCO_22276 for VVOS Based on HP-UX patch PHCO_22276: Buffer overflow. Resolution: Modify df(1m) to check the length of the buffer. Based on HP-UX patch PHCO_21902: Since autofs file systems are now supported, the df(1m) command must explicitly skip file systems of that type. The df(1m) command should not report on autofs file systems. Resolution: Modify df(1m) to explicitly skip autofs file systems. Based on HP-UX patch PHCO_18470: Multiple VxFS products are available on HPUX 11.00. The VxFS product (JFS3.1) installed with 11.00 does not have version 4 filesystem capability. Later VxFS products (JFS3.3) include a version 4 filesystem. Therefore, df must be modified to process version 4 filesystems. To allow for multiple VxFS products the following patches are required: PHCO_19491 libc PHCO_18462 diskusg_vxfs PHCO_18463 fscat PHCO_18464 getext PHCO_18465 setext PHCO_18466 vxdump PHCO_18467 vxrestore PHCO_18468 vxupgrade PHCO_18471 fstyp PHCO_18472 fs_wrapper PHCO_18473 mount_wrapper PHCO_19673 fsck_hfs PHCO_19623 mount_hfs PHCO_19624 mount_cdfs PHCO_19631 lvchange PHCO_19656 mkboot Please note that PHCO_18470 can be used without the above patch dependencies if multiple VxFS product support is not required. Resolution: Modify df to report version 4 filesystems information. PHCO_19026: Repackaged base HP-UX patch PHCO_13983 for VVOS Based on HP-UX patch PHCO_13983: The df command was relying on the 'f_fstr' value returned from statvfs to determine the mount point. This value is not reliable since it is limited to 32 chars, and is not necessarily the mount point since it is simply a 'file system specific string'. A new method has been added to correctly identify the file system mount point. Also, a modification to properly support other file systems, such as AutoFS. SR: 8606152609 1653293589 1653247296 4701378117 4701427328 Patch Files: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/bin/df what(1) Output: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/bin/df: $Revision: 82.1.1.3 $ $Revision: 82.2.1.5 $ PATCH_11_00: df.o extents.o hpux_rel.o 00/08/29 cksum(1) Output: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 1237454531 73728 /usr/bin/df Patch Conflicts: None Patch Dependencies: s700: 11.04: PHCO_19504 s800: 11.04: PHCO_19504 Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_19026 Equivalent Patches: PHCO_22275: s700: 10.20 s800: 10.20 PHCO_22276: s700: 11.00 s800: 11.00 PHCO_22325: s700: 10.24 s800: 10.24 Patch Package Size: 100 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_22327 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_22327.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_22327. 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_22327.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_22327.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_22327.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_22327.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None