| Title: | DIGITAL UNIX (FORMERLY KNOWN AS DEC OSF/1) | 
| Notice: | Welcome to the Digital UNIX Conference | 
| Moderator: | SMURF::DENHAM | 
| Created: | Thu Mar 16 1995 | 
| Last Modified: | Fri Jun 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 10068 | 
| Total number of notes: | 35879 | 
I run automount on my machine with the following parameters: /usr/sbin/automount -v -f /etc/yp/auto.master.osf -M /nfs -h and if I use getwd() on my home directory, I get: "/nfs/fuse/var/users/jrichard" (uses the automounter mount point) However, I'd like getwd() to return: "/usr/users/jrichard" instead. The automounter will, of course, create the soft link so I can chdir() to "/usr/users/jrichard", but that's not want I want. It seems that Solaris 5.5 will do this. So I could have a /etc/yp/auto.master.osf that reads: /usr/users auto.users -nosuid,soft,intr and have getwd() return /usr/users/jrichard Is there any way to do this with Digital UNIX? thanks, John Richardson ([email protected])
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 8855.1 | no answer but... | TLE::JRICHARD | Wed Feb 19 1997 09:56 | 10 | |
| No one as stepped forward to admit they know the answer to this, but after trying a few options in my automount files, I've come to the conclusion that the only way I could get getwd() to return the directory I want, is to actually mount the directory where I want it. So it seems the Digital UNIX automounter won't do this the way the sun one will. | |||||