\"dot\" file deleted!

VLD/VMB gwyn at Brl-Vld.ARPA
Thu Feb 28 00:58:09 AEST 1985


Get to the parent of the directory whose "." entry has been deleted.
For example, suppose the corrupted directory is /foo/bar.
	$ cd /foo
Then move all the files you want to save elsewhere:
	$ mkdir bar2
	$ mv bar/* bar2	# this should work just fine
Delete everything else:
	$ rm bar/*	# unnecessary if you really moved everything
	$ rm bar/.*
Then delete the empty corrupted directory:
	$ su
	# /etc/unlink bar/.	# just in case
	# /etc/unlink bar/..
	# /etc/unlink bar

An alternative is to put back the missing "." entry, but since it
really should be at the beginning of the directory you are perhaps
better off with the above procedure.



More information about the Comp.unix mailing list