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

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!mcs.kent.edu!Intrepid.mcs.kent.edu!bailey
  3. From: bailey@Intrepid.mcs.kent.edu (Jeff Bailey)
  4. Subject: Re: Circular directory linking
  5. Message-ID: <1992Aug15.044245.13434@mcs.kent.edu>
  6. Sender: news@mcs.kent.edu (News Administrator)
  7. Nntp-Posting-Host: intrepid.mcs.kent.edu
  8. Reply-To: bailey@mcs.kent.edu
  9. Organization: Computer Science Dept., Kent State Univ.
  10. References:  <11526226@glidden.UUCP>
  11. Date: Sat, 15 Aug 1992 04:42:45 GMT
  12. Lines: 33
  13.  
  14. In article <11526226@glidden.UUCP>, bill@glidden.UUCP (Bill Glidden) writes:
  15. |> At work, we are running 433 servers with HPUKES 8.0?. Something really
  16. |> weird happened to one of our servers and I would like to know if anyone
  17. |> has any ideas how this might have happened.
  18. |> 
  19. |> There is directory like this:
  20. |> 
  21. |>    / ---+
  22. |>         |
  23. |>         +--> abc ---+
  24. |>                     |
  25. |>                     +--> directory_a
  26. |> 
  27. |> Somehow, directory_a got linked to the / directory. So whenever you type
  28. |> "cd /abc/directory_a", you are really back at the root directory. As you
  29. |> can imagine, this really gives some system commands heartburn! (du, etc).
  30. |> 
  31. |> How could this have happened? The "ln" command is smart enough not to let
  32. |> you do this. Also, how do we fix this? My first thought is to use fsdb, and
  33.  
  34. Yeah, but the link(2) system call isn't. Look at the unlink(1M) command.
  35. You should be able to use it on /abc/directory_a.
  36.  
  37.  
  38. -- 
  39.  
  40. +--------------------------------------------------------------------------+
  41. | Jeff Bailey (Sys. Admin.) <bailey@mcs.kent.edu>     |  Long Live the HP  |
  42. | Department of Mathematics & |-----------------------|      Snakes!!      |
  43. |    Computer Science         | Home: (216) 654-2649  |--------------------|
  44. | Kent State University       | Dept: (216) 672-2077  |  1992 Corvette LT1 |
  45. | Kent - OH 44242  U.S.A.     | Fax:  (216) 672-7824  |  1979 TR7 roadster |
  46. +--------------------------------------------------------------------------+
  47.