Patch Name: PHCO_28419 Patch Description: s700_800 11.00 df(1M) cumulative patch Creation Date: 03/02/25 Post Date: 03/03/28 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_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_28419 Symptoms: PHCO_28419: Invoking df -Pk with the environment variable UNIX95=1 set, results in the display of truncated filesystem names if the filesystem names are greater than 21 characters in length. The truncated output makes it impossible to distinguish between filesystems if the first 21 characters of the paths are the same. PHCO_23118: The df(1m) returns error messages when it reports on the indirect autofs file system that is specified in its command line. Users will see the following error message: # df /indirect df: cannot determine file system statistics PHCO_22276: Program abort. 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)". PHCO_18470: Enchancement to report information on VxFS version 4 filesystem. 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_28419: When the environment variable UNIX95 is set, and df -Pk is invoked, the filesystem name is printed only till the 21st character. Resolution: Modified df(1M) to display the full filesystem name by removing the 21 character restriction when UNIX95 is set. PHCO_23118: The df(1m) had been modified to skip all autofs type of file systems before. However, df(1m) should indicate autofs filesystem information to users if an autofs mount point is given as an argument in the command line. Resolution: Modify df(1m) to report autofs mount point information if an autofs mount directory is the argument of df(1m). PHCO_22276: Buffer overflow. Resolution: Modify df(1m) to check the length of the buffer. 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. 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_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. Enhancement: No (superseded patches contained enhancements) PHCO_18470: This is an enhancement to report information on VxFS version 4 filesystem. SR: 8606286812 8606277910 8606171844 8606152609 1653293589 1653247296 4701378117 4701427328 Patch Files: OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/bin/df what(1) Output: OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/bin/df: $Revision: 82.1.1.11 $ $Revision: 82.2.1.11 $ cksum(1) Output: OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 2478137872 73728 /usr/bin/df Patch Conflicts: None Patch Dependencies: s700: 11.00: PHCO_19491 s800: 11.00: PHCO_19491 Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_13983 PHCO_18470 PHCO_21902 PHCO_22276 PHCO_23118 Equivalent Patches: None 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_28419 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_28419.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_28419. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false 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_28419.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_28419.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_28419.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None