Patch Name: PHCO_18472 Patch Description: s700_800 11.00 fs_wrapper(1M) - Multiple VxFS versions Creation Date: 99/08/26 Post Date: 99/10/06 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: enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_18472 Symptoms: PHCO_18472: Enchancement to allow for multiple versions of VxFS. Defect Description: PHCO_18472: Multiple versions of VxFS may co-exist on a system. Each version has its own set of file system-specific commands that lives in a different directory than other versions. Since at a given time, only one version of a file system type can be configured in the kernel, fs_wrapper needs to be able to determine what version is running, so that it can construct the correct path from which to exec() the file system-specific command. For full support for multiple VxFS versions, the following patches are required. Note: This patch, PHCO_18472, can be installed without the patches below if support for multiple VxFS versions is not required. PHCO_18462 diskusg_vxfs PHCO_18463 fscat PHCO_18464 getext PHCO_18465 setext PHCO_18466 vxdump PHCO_18467 vxrestore PHCO_18468 vxupgrade PHCO_18470 df PHCO_18471 fstyp PHCO_18472 fs_wrapper PHCO_18473 mount_wrapper PHCO_19491 libc PHCO_19623 mount_hfs PHCO_19624 mount_cdfs PHCO_19631 lvchange PHCO_19656 mkboot PHCO_19673 fsck_hfs Resolution: Each VxFS version has its own configuration (/sbin/lib/mfsconfig.d) file. The get_configuration() routine was changed to check for a "subtype" (a different VxFS version). The init() routine then uses this information when building the list of file system objects. The subtype name is used when constructing the command path. But it must also be able to map the subtype name back to the original fs type name, since the system (the kernel, /etc/mnttab, /etc/fstab, etc.) still knows it by the original fs type name. SR: 4701427328 Patch Files: OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /sbin/fs_wrapper what(1) Output: OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /sbin/fs_wrapper: $Revision: 82.1 $ $ PATCH/11.00:PHCO_19491 Aug 9 1999 09:49:32 $ PATCH_11_00: list_wrap.o fs_wrap.o gen_wrap.o get_co nfig.o wrap_main.o mgetopt.o hpux_rel.o 99/0 8/26 cksum(1) Output: OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 3836687217 233472 /sbin/fs_wrapper Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 250 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_18472 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_18472.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_18472. 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_18472.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_18472.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_18472.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_18472.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None