Patch-ID# 100576-03 Keywords: pwd, cwd, getwd, return, absolute, pathname, point patch Synopsis: SunOS 4.1.1: automount, getwd does not return absolute pathname Date: 06/Apr/92 SunOS release: 4.1.1 4.1.2 Unbundled Product: Unbundled Release: Topic: automount, getwd pathnames BugId's fixed with this patch: 1044045 Architectures for which this patch is available: sun4 sun4c Patches which may conflict with this patch: Obsoleted by: NOTE: This patch will not be integrated into subsequent releases of SunOS. Files included with this patch: getwd.automount.so Problem Description: This patch will return absolute path and not the automounted temporary mount path when using getwd() in their program. Install Instructions: The new module is called getwd.automount.so and this module can be use on all sun4/4.1x systems. This is what you need to test it with the customer application. 1. copy getwd.automount.so into /usr/lib/ (or somewhere where it is safe) 2. in csh setenv LD_PRELOAD "/usr/lib/getwd.automount.so" [change the path if getwd.automount.so is not in /usr/lib] 3. Run the customers application. Now if the path has /tmp_mnt in front of it then it will be stripped off with this patch. 4. If the customer is using -M option of automount then he/she will need to set AUTOMOUNT_FIX env variable to the mount-path. I have put getwd.automount.so and a small test program called get.c which can be used to make sure all this works.