home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sybus.sybus.com!myrddin!tscs!bailey!mailgsm
- From: bill@glidden.UUCP (Bill Glidden)
- Subject: Circular directory linking
- Newsgroups: comp.sys.hp
- Date: 14 Aug 92 23:49:02 GMT
- Distribution: world
- Message-ID: <11526226@glidden.UUCP>
- Organization: Bill Glidden's Home, Tampa FL
- Sender: news@glidden.UUCP (GNEWS Version 2.0 news poster.)
- Lines: 30
-
- 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
- set the directory entry for "directory_a" to have an i-node number 0 (which
- should effectively mark the file as deleted), then run an fsck and let it
- take care of the rest. Are there any opinions on this as a fix? Is there a
- better way? I'm so confused!
-
- Thanks
-
- --
- Bill Glidden bill@glidden.uucp -- glidden!bill@uunet.uu.net
- 7516 Camarina Calle
- Tampa, FL 33615 "Well is an absolute-it has no comparatives."
- (813) 882-8369 Kettle-Belly Baldwin
-