On Fri, 5 Nov 1999, Donncha O Caoimh wrote:
> Very strange.. Our dev server here at work seem to be missing a very
> critical directory. Telneting into the box I did an ls of the offending
> parent directory and saw that the "missing" directory was missing but I
> was already logged into the machine in the "missing" directory and I can
> move around and inspect the directories no problem. Even typing pwd
> showed I was in the correct directory!
> Samba users can't see the dir either.
> This is a bog standard RH5.2 server which has been running for months
> with only the occasional reboot (Usually when someone kicks the power
> lead by accident..)
> Uptime is 29 days at present.
>
My guess is that the directory has been unlinked but some process still
has it opened. For example, lets say I have a file open in a program foo.
If I rm that file while the foo is still running, it file is removed from
the directory entry but it still exists. It won't be actually deleted
until foo exits.
In your case.
Some critical application has a directory devel open. someone has rmmed
that directory so it appears to be deleted but as long as that process is
still running, the directory still exists. If that process ends, bang goes
your process. I'm not sure how to relink a directory in this state though
Mel
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!