"dot" file deleted!

Mike Schloss mike at enmasse.UUCP
Wed Mar 13 09:14:56 AEST 1985


>> 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



More information about the Comp.unix mailing list