Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84; site enmasse.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!panda!enmasse!mike From: mike@enmasse.UUCP (Mike Schloss) Newsgroups: net.unix Subject: Re: Re: "dot" file deleted! Message-ID: <370@enmasse.UUCP> Date: Tue, 12-Mar-85 18:14:56 EST Article-I.D.: enmasse.370 Posted: Tue Mar 12 18:14:56 1985 Date-Received: Fri, 15-Mar-85 01:14:14 EST References: <161@sbcs.UUCP> <8565@brl-tgr.ARPA> <8566@brl-tgr.ARPA> <957@hound.UUCP> <542@tesla.UUCP> Organization: Enmasse Computer Corp., Acton, Mass. Lines: 20 >> I've got a good one for you unix wizards. Somehow (I don't know >> how), the "dot" or "." file in one of my directories was removed. >> I cannot read nor access anything in the directory as a result. >> In fact, I cannot even remove the directory! Apparently, that >> dot file was pretty darn important. >> Is there something I can do to remove the inode? >> > The thing to do is to get someone with the su password to > write a program (much like mkdir itself) that will use the link(2) > system call to link the directory, let us call it /usr/pearse/wasted, > to /usr/pearse/wasted/. No, no, no. What you have there is a slightly corrupted file system. You know about one problem, how many dont you know about. If the fs isnt root then have your sys adm umount the filesys and run fsck. If the filesys is root then bring the machine down to single user, run fsck, and then bring it all back up. Mike Schloss