home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 10825 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.0 KB

  1. Path: sparky!uunet!mcsun!corton!enst!ulysse!typhon!yared
  2. From: yared@typhon.enst.fr (Nadim Yared)
  3. Newsgroups: comp.unix.questions
  4. Subject: No .. entry in a directory
  5. Message-ID: <2519@ulysse.enst.fr>
  6. Date: 8 Sep 92 14:26:24 GMT
  7. Sender: news@ulysse.enst.fr
  8. Organization: Telecom Paris, France
  9. Lines: 22
  10.  
  11. All my excuses if this is a FAQ .
  12.  
  13. I just mounted a disk to a subdirectory called /home (on a sun sparc). The
  14. problem with /home is that it does not recognize its parent directory, which
  15. should be /   . 
  16.  
  17.   An ls -al, issued from the directory /home, gives the error :
  18.  
  19.     .. entry not found.
  20.  
  21.   The indirect problem I get is that all functions and programs that rely
  22. on getwd do not work, simply because getwd() look for the complete working
  23. directory by issuing a series of chdir("..") . (examples of such programs is
  24. tar).
  25.  
  26.   Is there any way to solve this problem, and does anybody know how this 
  27. could have happened ? 
  28.  
  29.   Thanks for e-mail'ing me your advices, i'll post a summary later.
  30.  
  31.   Nadim YARED.
  32.   e-mail: yared@enst.enst.fr  
  33.