home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!src.honeywell.com!The-Star.honeywell.com!umn.edu!deci!mack
- From: mack@deci.cs.umn.edu (Dan Mack)
- Subject: Re: Using the Automounter
- Message-ID: <mack.714077447@deci>
- Sender: news@news2.cis.umn.edu (Usenet News Administration)
- Nntp-Posting-Host: deci.cs.umn.edu
- Organization: University of Minnesota
- References: <4275@inca.comlab.ox.ac.uk> <7140083348377@ibm.mcs.anl.gov> <ols0rms@rhyolite.wpd.sgi.com>
- Date: Mon, 17 Aug 1992 18:50:47 GMT
- Lines: 37
-
- In <ols0rms@rhyolite.wpd.sgi.com> vjs@rhyolite.wpd.sgi.com (Vernon Schryver) writes:
-
- >> In article <4275@inca.comlab.ox.ac.uk> mjs@prg.ox.ac.uk (Michael Smith) writes:
- >> >Has anyone out there perfected use of this wonderful feature?
- >> >I have managed to set it up, but, for example, typing
- >> >cd /home/nmra and then pwd gives /tmp_mnt/home/nmra, which
- >> >is fine-ish, but makes things a bit more difficult to use.
- >> >Is there some way of setting it up so the look is the same
- >> >as with the ordinary mount?
-
-
- >What I do is include the following line in my ~/.cshrc:
-
- >set home = `cd; pwd`
-
- >That makes $HOME and ~ point to /tmp_mnt/home/whatever, and generally
- >makes things that want `pwd` from ~ to do obvious things. The line is
- >generally handy whenever the home directory in /etc/passwd (and
- >substitutes like NIS) is really a symbolic link.
-
-
- >Vernon Schryver, vjs@sgi.com
-
- I've put the following in my .cshrc (or .alias) file:
-
- alias pwd 'echo $PWD'
-
- It's generally not a good idea to refer to files/directories through
- the automount mount point since those mount points don't always exist
- and they can change depending on how the automounter is started.
-
- Dan
- --
- -- -- -- --- --- --- ---- ---- ___ ---- ----- ----- ----- ------ ------ -----
- Dan Mack (mack@cray.com) / | \ "We're not hitchiking anymore... ..
- Sun/SGI Resource Group \/_\/ We're riding!" -Commander Hoek
- Cray Research, Eagan MN ----- ----- ----- ---- ---- ---- --- --- --- -- -- --
-