home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / hp / 9309 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.5 KB

  1. Path: sparky!uunet!sybus.sybus.com!myrddin!tscs!bailey!mailgsm
  2. From: bill@glidden.UUCP (Bill Glidden)
  3. Subject: Circular directory linking
  4. Newsgroups: comp.sys.hp
  5. Date: 14 Aug 92 23:49:02 GMT
  6. Distribution: world
  7. Message-ID: <11526226@glidden.UUCP>
  8. Organization: Bill Glidden's Home, Tampa FL
  9. Sender: news@glidden.UUCP (GNEWS Version 2.0 news poster.)
  10. Lines: 30
  11.  
  12. At work, we are running 433 servers with HPUKES 8.0?. Something really
  13. weird happened to one of our servers and I would like to know if anyone
  14. has any ideas how this might have happened.
  15.  
  16. There is directory like this:
  17.  
  18.    / ---+
  19.         |
  20.         +--> abc ---+
  21.                     |
  22.                     +--> directory_a
  23.  
  24. Somehow, directory_a got linked to the / directory. So whenever you type
  25. "cd /abc/directory_a", you are really back at the root directory. As you
  26. can imagine, this really gives some system commands heartburn! (du, etc).
  27.  
  28. How could this have happened? The "ln" command is smart enough not to let
  29. you do this. Also, how do we fix this? My first thought is to use fsdb, and
  30. set the directory entry for "directory_a" to have an i-node number 0 (which
  31. should effectively mark the file as deleted), then run an fsck and let it
  32. take care of the rest. Are there any opinions on this as a fix? Is there a
  33. better way? I'm so confused!
  34.  
  35. Thanks
  36.  
  37. --
  38. Bill Glidden             bill@glidden.uucp -- glidden!bill@uunet.uu.net
  39. 7516 Camarina Calle
  40. Tampa, FL 33615         "Well is an absolute-it has no comparatives."
  41. (813) 882-8369                      Kettle-Belly Baldwin
  42.