Patch Name: PHCO_28941 Patch Description: s700_800 11.11 devnm(1M) cumulative patch Creation Date: 03/08/07 Post Date: 03/08/18 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_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_28941 Symptoms: PHCO_28941: ( SR:8606303097 CR:JAGae66453 ) The command - devnm(1M), exits with an error when run on largefiles (> 2GB). Defect Description: PHCO_28941: ( SR:8606303097 CR:JAGae66453 ) When devnm(1M) is run on a file larger than 2GB, it exits with an error message. This is happening because devnm(1M) is not compiled with -D_FILE_OFFSET_BITS=64 option, which is required for the large file support. The problem can be reproduced as follows : 1. Create a large file on a system. 2. ll largefile -rw-rw-rw- 1 root sys 104857610240 Mar 26 22:50 largefile 3. devnm largefile devnm: largefile: Value too large to be stored in data type Resolution: Problem is resolved by compiling devnm(1M) with -D_FILE_OFFSET_BITS=64 option, so that large files (> 2GB) are supported. Enhancement: No SR: 8606303097 Patch Files: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/sbin/devnm what(1) Output: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/sbin/devnm: devnm.c $Date: 2003/07/21 22:25:55 $Revision: r11.11 /1 PATCH_11.11 (PHCO_28941) $Revision: @(#) all CUP11.11_BL2003_0807_1 PATCH_11. 11 PHCO_28941 Thu Aug 7 06:14:45 PDT 2003 $ cksum(1) Output: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 332868158 16384 /usr/sbin/devnm Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 20 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_28941 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_28941.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_28941. 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_28941.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_28941.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_28941.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None