From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,e361b981e2ccfba4 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-07-31 08:30:19 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!small1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.aros.net!news.aros.net.POSTED!not-for-mail NNTP-Posting-Date: Thu, 31 Jul 2003 10:30:16 -0500 From: "bofh00" Subject: Re: NIS/NFS automount question Date: Thu, 31 Jul 2003 09:32:10 -0600 User-Agent: Pan/0.13.0 (The whole remains beautiful) Message-ID: Newsgroups: comp.unix.tru64 References: To: "Aaron J. Greenwood" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 NNTP-Posting-Host: 66.219.229.198 X-Trace: sv3-5XjXEhM2Tjo/klPnF7OFlkAPtRjFuZ7MaCEfCNkXOAq//712eI073yNovv5tTgDHzTEy63yqW5D08k3!Kq8Ch8WtkFVXMJGVzTdgQY7GhIHlCqBpKlbxTdgY7XP3f1SybyPpKI4sp06RiIhmTj7zyL5AWETr!jnzCnWD1Rcc+RLNo X-Complaints-To: abuse@aros.net X-DMCA-Complaints-To: abuse@aros.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.unix.tru64:10430 On Mon, 21 Jul 2003 10:05:14 +0000, Aaron J. Greenwood wrote: > If I cd into /lin/data/aug2001 on a system running Linux or Irix pwd returns > /lin/data/aug2001 > > If I cd into /lin/data/aug2001 on a system running Tru64 pwd returns > /tmp_mnt/lin/data/aug2001. This creates problems with scripts that use pwd. > > Is there a way to get pwd to drop the /tmp_mnt part of the path? > > I am running NIS, NFS and automount. For this file system the following is > true: > > auto.master has the following line: > /lin auto.lin -rw,intr > > auto.lin has the following line: > data hostname.subdomain.uci.edu:/data > > On the Tru64 systems I am using automount > On the Irix systems I am using autofs or automount > On the Linux systems I am using autofs > > Any help would be appreciated. -M mount-directory Uses mount-directory instead of the default, /tmp_mnt. There is an option for automount to tell it to use another dir other than the default tmp_mnt. Not sure if this is what you are after but it is worth a look.