home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / misc / 6565 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.6 KB

  1. Xref: sparky comp.sys.sun.misc:6565 comp.sys.sun.apps:3117
  2. Newsgroups: comp.sys.sun.misc,comp.sys.sun.apps
  3. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!udel!bogus.sura.net!howland.reston.ans.net!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sun4nl!relay.philips.nl!prle!reitsma
  4. From: reitsma@prl.philips.nl (Reitsma)
  5. Subject: Automount - How to get rid of '/tmp_mnt' ?
  6. Message-ID: <1993Jan27.144457.9621@prl.philips.nl>
  7. Originator: reitsma@prl.philips.nl
  8. Sender: news@prl.philips.nl (USENET News System)
  9. Organization: Philips Research Laboratories, Eindhoven, The Netherlands
  10. Date: Wed, 27 Jan 1993 14:44:57 GMT
  11. Lines: 25
  12.  
  13.  
  14. Hello,
  15.  
  16. Our site is using the automount feature (under SunOS 4.1.x). Without doubt a 
  17. nice feature, although not every part in the system seems to understand 
  18. its implications:
  19.  
  20. When asking the current working directory (pwd, getwd()) the full path is
  21. returned, including the '/tmp_mnt' prefix. This is very annoying and may
  22. (does) lead to problems when using the pathname, because 5 minutes later 
  23. the path will be invalid. IMHO the getwd call should strip the /tmp_mnt 
  24. stuff, so that the automounter becomes transparent. So if my directory
  25. /home/reitsma is automounted under /tmp_mnt, pwd should return 
  26. /home/reitsma/... and not /tmp_mnt/home/reitsma...
  27.  
  28. We can adapt our own tools and replace getwd() by getwd_smart(), but tools
  29. like the C (cross) compiler (which can generate full pathnames for the 
  30. source level debugger) cannot be modified.
  31.  
  32. Is there anyone out there, who recognizes the problem and knows a solution?
  33.  
  34. Thanks,
  35.  
  36. Jaap Reitsma (reitsma@prl.philips.nl)
  37.  
  38.