There is a directory in my filesystem. If I do an ls -a
in the directory, I get nothing (not even ./
and ../
). If I do an rmdir
, I get told that the directory is not empty. rm -rf
gives the same "not empty" error. I tried to use mv
to change its name. This produced an Input/output error
, but was apparently successful.
Say that I don't care about the contents, I just want to clean it up. What can I do?
OSX Tiger, in a FileVault home directory (if it matters).
EDIT: more diagnostics, as suggested by gbarry. As I said, the mv
was apparently successful, so the directory is called foo
now.
$ ls -ld foo
drwxr-xr-x 3 repton repton 102B May 30 2007 foo/
$ stat foo
234881029 39016 drwxr-xr-x 3 repton repton 0 102 "Jul 9 12:00:10 2009" "May 30 03:24:34 2007" "Jan 21 16:55:53 2008" 4096 0 0 foo
$ file foo
foo: directory
$ du -h foo
0B foo