home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- 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
- From: bailey@Intrepid.mcs.kent.edu (Jeff Bailey)
- Subject: Re: Circular directory linking
- Message-ID: <1992Aug15.044245.13434@mcs.kent.edu>
- Sender: news@mcs.kent.edu (News Administrator)
- Nntp-Posting-Host: intrepid.mcs.kent.edu
- Reply-To: bailey@mcs.kent.edu
- Organization: Computer Science Dept., Kent State Univ.
- References: <11526226@glidden.UUCP>
- Date: Sat, 15 Aug 1992 04:42:45 GMT
- Lines: 33
-
- In article <11526226@glidden.UUCP>, bill@glidden.UUCP (Bill Glidden) writes:
- |> At work, we are running 433 servers with HPUKES 8.0?. Something really
- |> weird happened to one of our servers and I would like to know if anyone
- |> has any ideas how this might have happened.
- |>
- |> There is directory like this:
- |>
- |> / ---+
- |> |
- |> +--> abc ---+
- |> |
- |> +--> directory_a
- |>
- |> Somehow, directory_a got linked to the / directory. So whenever you type
- |> "cd /abc/directory_a", you are really back at the root directory. As you
- |> can imagine, this really gives some system commands heartburn! (du, etc).
- |>
- |> How could this have happened? The "ln" command is smart enough not to let
- |> you do this. Also, how do we fix this? My first thought is to use fsdb, and
-
- Yeah, but the link(2) system call isn't. Look at the unlink(1M) command.
- You should be able to use it on /abc/directory_a.
-
-
- --
-
- +--------------------------------------------------------------------------+
- | Jeff Bailey (Sys. Admin.) <bailey@mcs.kent.edu> | Long Live the HP |
- | Department of Mathematics & |-----------------------| Snakes!! |
- | Computer Science | Home: (216) 654-2649 |--------------------|
- | Kent State University | Dept: (216) 672-2077 | 1992 Corvette LT1 |
- | Kent - OH 44242 U.S.A. | Fax: (216) 672-7824 | 1979 TR7 roadster |
- +--------------------------------------------------------------------------+
-