Patch Name: PHCO_30720 Patch Description: s700_800 11.23 fixes problem copying new file using efi_cp Creation Date: 04/04/19 Post Date: 04/05/04 Hardware Platforms - OS Releases: s700: 11.23 s800: 11.23 Products: N/A Filesets: OS-Core.SYS2-ADMIN,fr=B.11.23,fa=HP-UX_B.11.23_IA,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_30720 Symptoms: PHCO_30720: ( SR:8606349049 CR:JAGaf09868 ) After copying a new file with efi_cp or creating a new directory with efi_mkdir, the new file or directory is listed in the output of efi_ls, but possibly may not be displayed when viewing it from the EFI shell. ( SR:8606358604 CR:JAGaf19303 ) The file shows a blank name when it is displayed by efi_ls. Defect Description: PHCO_30720: ( SR:8606349049 CR:JAGaf09868 ) When efi_rm or efi_rmdir is used to remove a file or directory, sometimes the directory entry is removed but the long name entry is left behind as an orphan entry. This can cause problems with subsequent newly created files / directories in the EFI shell implementation of the EFI file system. The new file may not appear, or may be converted from long name format to a short name (8.3) entry. Resolution: New version of efi_rm and efi_rmdir now remove all long name entries as well as directory entries, avoiding the creation of orphan entries. In addition, efi_cp / efi_mkdir now clean all directories in the EFI volume, removing any existing orphan entries to prevent future problems. ( SR:8606358604 CR:JAGaf19303 ) If a filename is such that internal checksum routine returns 0, the efi_ls can mistakenly assumes that there exists a long name entry even when there isn't one. Since there is no long name entry, it displays a blank name in this case. Resolution: New version of tool initializes the checksum variable to the value that cannot be returned by internal checksum routine before comparing them, so correct filename will be shown. Enhancement: No SR: 8606349049 8606358604 Patch Files: OS-Core.SYS2-ADMIN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/sbin/efi_cp /usr/sbin/efi_fsinit /usr/sbin/efi_ls /usr/sbin/efi_mkdir /usr/sbin/efi_rm /usr/sbin/efi_rmdir what(1) Output: OS-Core.SYS2-ADMIN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/sbin/efi_cp: None /usr/sbin/efi_fsinit: None /usr/sbin/efi_ls: None /usr/sbin/efi_mkdir: None /usr/sbin/efi_rm: None /usr/sbin/efi_rmdir: None cksum(1) Output: OS-Core.SYS2-ADMIN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 3510993384 181060 /usr/sbin/efi_cp 2935526651 116852 /usr/sbin/efi_fsinit 1587609008 131308 /usr/sbin/efi_ls 3572062714 162252 /usr/sbin/efi_mkdir 1587819282 131132 /usr/sbin/efi_rm 1059395763 127028 /usr/sbin/efi_rmdir Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 310 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_30720 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_30720.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_30720. 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_30720.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_30720.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_30720.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None