home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!sun-barr!ames!sgi!rhyolite!vjs
- From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver)
- Subject: Re: Using the Automounter
- Message-ID: <ols0rms@rhyolite.wpd.sgi.com>
- Organization: Silicon Graphics, Inc. Mountain View, CA
- References: <4275@inca.comlab.ox.ac.uk> <7140083348377@ibm.mcs.anl.gov>
- Date: Mon, 17 Aug 1992 03:15:02 GMT
- Lines: 20
-
- > 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
-