Home » Questions » Unexperienced [ Ask a new question ]

"Broken" directory in OSX - what can I do?

"Broken" directory in OSX - what can I do?

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.

Asked by: Guest | Views: 268
Total answers/comments: 2
Guest [Entry]

"In Tiger, a FileVault disk is a sparse image. (After upgrading to Leopard it's still such sparse image, but when creating a new FileVault in Leopard, you'll get a sparse bundle instead. The latter works better with Time Machine.)

Did you try to run Disk Utility on that image? See Apple's Mac OS X 10.3, 10.4: FileVault - How to verify or repair a home directory image for detailed instructions. (Or, if for some reason you cannot use that, maybe hdiutil verify.)"
Guest [Entry]

You probably need to repair the hard drive using the Disk Utility. I had a similar problem with one file staying in trash even after forcing it to empty (the system kept saying it was in use). After repairing the disk I was able to delete the file.