home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12499 < prev    next >
Encoding:
Text File  |  1992-08-17  |  2.0 KB  |  50 lines

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