home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / next / software / 3580 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  2.5 KB

  1. Xref: sparky comp.sys.next.software:3580 comp.sys.next.sysadmin:7572
  2. Newsgroups: comp.sys.next.software,comp.sys.next.sysadmin
  3. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!newsserver.jvnc.net!mitl.com!lemke
  4. From: lemke@MITL.COM (Kennedy Lemke)
  5. Subject: Problems with "open" and "pwd" commands
  6. Message-ID: <1993Jan21.230936.28745@MITL.COM>
  7. Originator: lemke@narnia.MITL.COM
  8. Sender: news@MITL.COM
  9. Organization: Matsushita Information Technology Laboratory, Princeton, NJ
  10. Date: Thu, 21 Jan 1993 23:09:36 GMT
  11. Lines: 52
  12.  
  13. Hello.  Two problems since our upgrade to 3.0:
  14.  
  15. Problem #1: The "open" command.  We use an automount entry for
  16. home directories that looks like this:
  17.  
  18.     /usr/etc/autonfsmount -tm 10 -tl 43200 -a /private /u userhomes
  19.  
  20. "userhomes" is an nis map (yes, the nexts are running yp) that maps
  21. user names to hostname/directory paths.  All user accounts, regardless
  22. of which disk they actually live on, can be accessed from any of our
  23. machines by accessing "/u/username".  This has worked (and is still
  24. working) just fine.  The problem occurs under version 3.0 with the
  25. "open" command.  For example:
  26.  
  27.     [158]aslan--> open .bashrc
  28.     open: can't stat file: /auto4000143/.bashrc
  29.     [159]aslan--> open /u/lemke/.bashrc    <---THIS ONE WORKS
  30.     [160]aslan--> 
  31.  
  32. So you can't use the "open" command to access a directory in
  33. your home directory without specifying an absolute pathname
  34. that starts with "/u".  Under 2.{1,2}, the "open" command worked
  35. fine.  If you're in your home directory and you say "pwd", what
  36. returns is something like "/private/auto4000143".  The "open"
  37. command clearly appears to be leaving off the "/private" part
  38. of the pathname when trying to open file.  Anyone know why?
  39.  
  40. Problem #2: using "bash" version 1.12, "pwd" (which is not aliased
  41. to anything) gives strange behavior.  Sometimes it says the "right"
  42. thing; other times it returns an empty line.  For example:
  43.  
  44.     [140]aslan--> pwd
  45.     /private/auto4000143
  46.     [141]aslan--> pwd
  47.  
  48.     [142]aslan--> pwd
  49.  
  50.     [143]aslan--> pwd
  51.     /private/auto4000143
  52.     [144]aslan-->
  53.  
  54. Anyone know why?  Thank you.
  55.  
  56.                 Kennedy Lemke
  57.     ,    ,     ___  ______    Computer Systems Manager
  58.    /|   /|     /      /     /    Postmaster && Domain administrator &&
  59.   / |  / |    /      /     /    News administrator && Network adminstrator
  60.  /  | /  |   /      /     /    Matsushita Information Technology Laboratory
  61. /   |/   | _/_     /     /____    182 Nassau Street, Third Floor
  62.  
  63. Work Phone: (609) 497-4600    Princeton, New Jersey  08542
  64. Fax Phone:  (609) 497-4013    Email: lemke@MITL.COM
  65.